diff options
author | root <root@rshg054.dnsready.net> | 2012-02-06 23:14:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-06 23:14:50 +0000 |
commit | 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch) | |
tree | 8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /community/smc | |
parent | bdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff) |
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'community/smc')
-rw-r--r-- | community/smc/PKGBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/community/smc/PKGBUILD b/community/smc/PKGBUILD index b93398345..cd69b6236 100644 --- a/community/smc/PKGBUILD +++ b/community/smc/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 59966 2011-12-02 21:00:57Z ibiru $ +# $Id: PKGBUILD 63744 2012-02-05 12:11:13Z ibiru $ # Maintainer: # Contributor: Juergen Hoetzel <juergen@archlinux.org> # Contributor: Kritoke <typeolinux@yahoo.com> pkgname=smc pkgver=1.9 -pkgrel=13 +pkgrel=14 pkgdesc="Secret Maryo Chronicles" arch=('i686' 'x86_64') url="http://www.secretmaryo.org/" @@ -22,24 +22,25 @@ md5sums=('75ab7826303c49aec25b052a8b90287f' 'efca7580e28748625eb676c9d24ee122') build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" # to remove when smc will be compatible with cegui-0.7.x - patch -Np1 -i ${srcdir}/smc-for-cegui-v0-7.diff + patch -Np1 -i "${srcdir}/smc-for-cegui-v0-7.diff" # fix for boost-1.46 export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2" ./autogen.sh - ./configure --prefix=/usr + LIBS+="-lX11 -lboost_system" ./configure --prefix=/usr + make } package() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" - make install DESTDIR=$pkgdir + make install DESTDIR="$pkgdir" # install some freedesktop.org compatibility - install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop - install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png + install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" - rm -rf $pkgdir/usr/share/smc/ + rm -rf "$pkgdir/usr/share/smc/" } |