diff options
Diffstat (limited to 'main/xarchiver/APKBUILD')
-rw-r--r-- | main/xarchiver/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/main/xarchiver/APKBUILD b/main/xarchiver/APKBUILD new file mode 100644 index 0000000000..d114f14ca3 --- /dev/null +++ b/main/xarchiver/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xarchiver +pkgver=0.5.2 +pkgrel=1 +pkgdesc="GTK+ frontend to various command line archivers" +url="http://xarchiver.xfce.org/" +license="GPL" +depends="desktop-file-utils hicolor-icon-theme tar" +makedepends="intltool gtk+-dev" +install= +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 + xarchiver-0.5.2-stack-smash.patch" + +prepare() { + cd "$srcdir/xarchiver-$pkgver" + patch -p1 -i "$srcdir"/xarchiver-0.5.2-stack-smash.patch +} + +build() { + cd "$srcdir/xarchiver-$pkgver" + ./configure --prefix=/usr \ + --libexecdir=/usr/lib/xfce4 || return 1 + make || return 1 +} + +package() { + cd "$srcdir/xarchiver-$pkgver" + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="2bc7f06403cc6582dd4a8029ec9d038d xarchiver-0.5.2.tar.bz2 +74cdf6a77e91ac7b02270002c582cea1 xarchiver-0.5.2-stack-smash.patch" |