diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-12 03:40:54 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-12 03:40:54 +0000 |
commit | 5d4b5782f03734e12c907cbc7e4b8c35926e9554 (patch) | |
tree | d6b52861ee269d63f88807a3e6cefc926a173247 /community/idesk/PKGBUILD | |
parent | 345769552026b46d72b7318f1efa6d615ce03ee3 (diff) |
Wed Mar 12 03:36:36 UTC 2014
Diffstat (limited to 'community/idesk/PKGBUILD')
-rw-r--r-- | community/idesk/PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/community/idesk/PKGBUILD b/community/idesk/PKGBUILD index 027925bcc..b1a0e5c1f 100644 --- a/community/idesk/PKGBUILD +++ b/community/idesk/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 90753 2013-05-13 15:08:30Z spupykin $ +# $Id: PKGBUILD 107002 2014-03-11 11:04:01Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Claudio Sabattoli <gasherbrum3@alice.it> @@ -13,16 +13,20 @@ depends=('pkgconfig' 'imlib2' 'libpng' 'libxpm' 'libxft' 'gcc-libs') source=("http://downloads.sourceforge.net/sourceforge/idesk/$pkgname-$pkgver.tar.bz2") md5sums=('beb48c97815c7b085e3b3d601297fbb8') -build() { +prepare() { cd $srcdir/$pkgname-$pkgver - sed -i \ -e '1,1i#include <unistd.h>' \ -e '1,1i#include <sys/stat.h>' \ -e '1,1i#include <sys/types.h>' \ src/DesktopConfig.cpp sed -i 's#usr/local#usr#' examples/default.lnk + sed -i 's#IMLIB2_LIBS=.*#IMLIB2_LIBS=-lImlib2#g' configure + sed -i 's#IMLIB_LIBS=.*#IMLIB_LIBS="-L/usr/lib -lImlib -Wl,-O1,--sort-common,--as-needed,-z,relro -ljpeg -ltiff -lgif -lpng -lz -lm -lXext -lXext -lX11 -lImlib2"#g' configure +} +build() { + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr make } |