diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-07-05 18:20:44 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-07-05 18:20:44 +0000 |
commit | fe7da15ae6487bd2e04a102154563bfabb8ae5a0 (patch) | |
tree | 29149b77365b036d7db2bcc7114848075f36d290 /community/xfce4-screenshooter | |
parent | 8a00f9cb0553d41433f4ea0334ab6c7f1450ce56 (diff) | |
download | aports-fe7da15ae6487bd2e04a102154563bfabb8ae5a0.tar.bz2 aports-fe7da15ae6487bd2e04a102154563bfabb8ae5a0.tar.xz |
community/xfce4-screenshooter: upgrade to 1.9.2 and modernize
Diffstat (limited to 'community/xfce4-screenshooter')
-rw-r--r-- | community/xfce4-screenshooter/APKBUILD | 35 |
1 files changed, 10 insertions, 25 deletions
diff --git a/community/xfce4-screenshooter/APKBUILD b/community/xfce4-screenshooter/APKBUILD index 7cec821fe8..5f6c40e0e6 100644 --- a/community/xfce4-screenshooter/APKBUILD +++ b/community/xfce4-screenshooter/APKBUILD @@ -1,31 +1,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xfce4-screenshooter -pkgver=1.8.2 -pkgrel=1 +pkgver=1.9.2 +pkgrel=0 pkgdesc="screenshot application for Xfce4" url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter" arch="all" license="GPL-2.0" subpackages="$pkgname-doc $pkgname-lang" -depends= makedepends="xfce4-panel-dev hicolor-icon-theme libsoup-dev libxfce4ui-dev exo-dev libxext-dev" -install= -source="http://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/xfce4-screenshooter-$pkgver.tar.bz2 +source="http://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 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 -} +builddir="$srcdir/$pkgname-$pkgver" build () { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -33,19 +23,14 @@ build () { --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="3a32ecc5566453a58f6a4ddd70649444 xfce4-screenshooter-1.8.2.tar.bz2 -a8a30afa060e0f65cbc8a0809f2d8c31 xfce4-screenshooter-1.7.9-dsofix.patch" -sha256sums="9dce2ddfaa87f703e870e29bae13f3fc82a1b3f06b44f8386640e45a135f5f69 xfce4-screenshooter-1.8.2.tar.bz2 -7173fb4f70a07343ea5c5f3301f749d5d42ddca173621bb52fb70d959e043b64 xfce4-screenshooter-1.7.9-dsofix.patch" -sha512sums="e43dce108c7bacfeebdc39b0c9948b348c77faf358fb0ab5f26d59c96980f1c5473ef87895fe53387340202813935ddad6e200010e61aa27c2c56b662ee56b1e xfce4-screenshooter-1.8.2.tar.bz2 +sha512sums="fb60fe89a620122e59352154dbcace8f3e3a2f2f3f2d6cfff521651f4dc021241e9b370f7929fca55b36bbb13ed3ae0c4393a621291b51e451bc2e57b1a798c8 xfce4-screenshooter-1.9.2.tar.bz2 e2ac3e4c068874c5e3a4631fb9887c3aa1251b282ff422aa02c68424f8557967d213fa23660c08e0c44b394c162e23a51ade2f76f1b758eb78dc3da7986704bb xfce4-screenshooter-1.7.9-dsofix.patch" |