diff options
author | prspkt <prspkt@protonmail.com> | 2018-04-01 18:47:22 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-04-05 07:12:10 +0000 |
commit | 6299714460f7682aacfaf1736ba932ec9bcfb0a1 (patch) | |
tree | 877e3c94d7b7ff201cad023f0ff95132583e8a90 | |
parent | 55c70105e99ddc0fb316696ad629d5ba8c95e152 (diff) | |
download | aports-6299714460f7682aacfaf1736ba932ec9bcfb0a1.tar.bz2 aports-6299714460f7682aacfaf1736ba932ec9bcfb0a1.tar.xz |
main/tumbler: clarify license, modernize
-rw-r--r-- | main/tumbler/APKBUILD | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/main/tumbler/APKBUILD b/main/tumbler/APKBUILD index df09fe2be5..4d9c045495 100644 --- a/main/tumbler/APKBUILD +++ b/main/tumbler/APKBUILD @@ -3,30 +3,20 @@ pkgname=tumbler pkgver=0.2.1 pkgrel=0 -pkgdesc="D-Bus service for applications to request thumbnails" -url="http://git.xfce.org/xfce/tumbler/" +pkgdesc="D-Bus thumbnail service" +url="http://git.xfce.org/xfce/tumbler" arch="all" -license="GPL-2.0" +license="GPL-2.0-or-later" depends= -makedepends="gtk+2.0-dev dbus-glib-dev libjpeg-turbo-dev poppler-dev curl-dev" +makedepends="curl-dev dbus-glib-dev gtk+2.0-dev libjpeg-turbo-dev poppler-dev" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://archive.xfce.org/src/apps/tumbler/${pkgver%.*}/tumbler-$pkgver.tar.bz2 " - -_builddir="$srcdir"/tumbler-$pkgver -prepare() { - local i - 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 \ @@ -34,14 +24,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="c88595312e34534cb43d304d97a60886338d92997a7d0b5a8bb22d06dfb13d7a7445b148ba4af3766df24f6c87106a7f65758debf198e46d9fabf00049b13386 tumbler-0.2.1.tar.bz2" |