diff options
Diffstat (limited to 'main/gpicview/APKBUILD')
-rw-r--r-- | main/gpicview/APKBUILD | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/main/gpicview/APKBUILD b/main/gpicview/APKBUILD index 632e68cab3..3f4194d992 100644 --- a/main/gpicview/APKBUILD +++ b/main/gpicview/APKBUILD @@ -1,14 +1,26 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gpicview pkgver=0.2.2 -pkgrel=0 +pkgrel=1 pkgdesc="Picture viewer of the LXDE Desktop" url="http://wiki.lxde.org/en/GPicView" arch="all" license="GPL-2" depends= -makedepends="gtk+-dev intltool jpeg-dev" -source="http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.gz" +subpackages="$pkgname-lang" +makedepends="gtk+-dev intltool jpeg-dev autoconf automake libtool" +source="http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.gz + libm-underlinking.patch" + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + libtoolize --force && aclocal && autoconf && automake +} build() { cd "$srcdir/$pkgname-$pkgver" @@ -20,4 +32,5 @@ package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install || return 1 } -md5sums="943da9f4a23541accd5acdd4fb69966f gpicview-0.2.2.tar.gz" +md5sums="943da9f4a23541accd5acdd4fb69966f gpicview-0.2.2.tar.gz +99fb803a293c88a37b606136f6a5c6ca libm-underlinking.patch" |