diff options
author | Erich Eckner <git@eckner.net> | 2017-10-19 10:28:13 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-19 10:28:13 +0200 |
commit | 2d5690c358c6593b79ff516a073cdc595b2344ae (patch) | |
tree | bc13678af0514b759910a2da1c2d9636f348c490 | |
parent | e776db9914ebd2458db5cd2463c23ce84c1ccd85 (diff) | |
download | archlinuxewe-2d5690c358c6593b79ff516a073cdc595b2344ae.tar.xz |
openttd-svn: fix paths in PKGBUILD
-rwxr-xr-x | openttd-svn/PKGBUILD | 12 |
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 |