From 2d5690c358c6593b79ff516a073cdc595b2344ae Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 19 Oct 2017 10:28:13 +0200 Subject: openttd-svn: fix paths in PKGBUILD --- openttd-svn/PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'openttd-svn') 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 -- cgit v1.2.3-70-g09d2