diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-30 07:06:53 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-30 07:10:36 +0000 |
commit | 6da44a2076421c57c05bfbbe39b43452d68f727f (patch) | |
tree | d177710b78a19c3fff8e43006eec83d71128c77a /main/xfce4-screenshooter/APKBUILD | |
parent | 772c441346998168601fdb2ab64d6818b48ebc14 (diff) | |
download | aports-6da44a2076421c57c05bfbbe39b43452d68f727f.tar.bz2 aports-6da44a2076421c57c05bfbbe39b43452d68f727f.tar.xz |
main/xfce4-screenshooter: remove install scripts + linker fix
and anohter patch from Arch Linux
Diffstat (limited to 'main/xfce4-screenshooter/APKBUILD')
-rw-r--r-- | main/xfce4-screenshooter/APKBUILD | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/main/xfce4-screenshooter/APKBUILD b/main/xfce4-screenshooter/APKBUILD index d43ff17325..d75aaaf9da 100644 --- a/main/xfce4-screenshooter/APKBUILD +++ b/main/xfce4-screenshooter/APKBUILD @@ -1,21 +1,32 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xfce4-screenshooter pkgver=1.8.0 -pkgrel=0 +pkgrel=1 pkgdesc="screenshot application for Xfce4" url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter" arch="all" license="GPL2" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-lang" depends= makedepends="xfce4-panel-dev hicolor-icon-theme libsoup-dev libxfce4ui-dev exo-dev libxext-dev" -install="xfce4-screenshooter.post-install xfce4-screenshooter.post-upgrade - xfce4-screenshooter.post-deinstall" -source="http://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/xfce4-screenshooter-$pkgver.tar.bz2" +install= +source="http://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/xfce4-screenshooter-$pkgver.tar.bz2 + fs-25873-segfault-in-awesome-wm.patch + xfce4-screenshooter-1.7.9-dsofix.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} build () { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ @@ -25,8 +36,10 @@ build () { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="b51ab5725418e7258273c4a6402adb02 xfce4-screenshooter-1.8.0.tar.bz2" +md5sums="b51ab5725418e7258273c4a6402adb02 xfce4-screenshooter-1.8.0.tar.bz2 +18042622c40c37a13da958aee216cafb fs-25873-segfault-in-awesome-wm.patch +a8a30afa060e0f65cbc8a0809f2d8c31 xfce4-screenshooter-1.7.9-dsofix.patch" |