summaryrefslogtreecommitdiff
path: root/openttd-svn
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-19 10:28:13 +0200
committerErich Eckner <git@eckner.net>2017-10-19 10:28:13 +0200
commit2d5690c358c6593b79ff516a073cdc595b2344ae (patch)
treebc13678af0514b759910a2da1c2d9636f348c490 /openttd-svn
parente776db9914ebd2458db5cd2463c23ce84c1ccd85 (diff)
downloadarchlinuxewe-2d5690c358c6593b79ff516a073cdc595b2344ae.tar.xz
openttd-svn: fix paths in PKGBUILD
Diffstat (limited to 'openttd-svn')
-rwxr-xr-xopenttd-svn/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/openttd-svn/PKGBUILD b/openttd-svn/PKGBUILD
index 8ef33bdef..c2e37ebb9 100755
--- a/openttd-svn/PKGBUILD
+++ b/openttd-svn/PKGBUILD
@@ -43,9 +43,9 @@ sha512sums=('SKIP'
prepare() {
- cd $srcdir/trunk
+ cd "${srcdir}/${pkgname}"
- cat $srcdir/everything.patch | \
+ cat ${srcdir}/everything.patch | \
(
read zeile
while read zeile
@@ -63,7 +63,7 @@ prepare() {
build() {
- cd trunk
+ cd "${srcdir}/${pkgname}"
./configure ${_targetHost} \
--prefix-dir=/usr \
--binary-dir=bin \
@@ -73,18 +73,18 @@ build() {
--personal-dir=.openttd \
--install-dir=$pkgdir \
make
- install -m644 $srcdir/clipboard.grf $srcdir/trunk/bin/baseset/
+ install -m644 "${srcdir}/clipboard.grf" "${srcdir}/${pkgname}/bin/baseset/"
}
check() {
- cd trunk
+ cd "${srcdir}/${pkgname}"
make test
}
package() {
- cd trunk
+ cd "${srcdir}/${pkgname}"
make DESTDIR=$pkgdir install
# Remove unnecessary languages