diff options
author | TBK <tbk@jjtc.eu> | 2018-06-24 23:57:09 +0200 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-07-06 09:12:33 +0000 |
commit | deeac93416fa007a1cec2e74ed8ec55b4e0c7e99 (patch) | |
tree | 29553906dd50e90b6ec44462f8ce3f395fc93b2c | |
parent | 2fa5188344187fea51f8f64338ba030c043dcec4 (diff) | |
download | aports-deeac93416fa007a1cec2e74ed8ec55b4e0c7e99.tar.bz2 aports-deeac93416fa007a1cec2e74ed8ec55b4e0c7e99.tar.xz |
community/thunar-archive-plugin: upgrade to 0.4.0, modernize
-rw-r--r-- | community/thunar-archive-plugin/APKBUILD | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/community/thunar-archive-plugin/APKBUILD b/community/thunar-archive-plugin/APKBUILD index 9def4c8dc2..eb37ee1f7e 100644 --- a/community/thunar-archive-plugin/APKBUILD +++ b/community/thunar-archive-plugin/APKBUILD @@ -1,19 +1,20 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=thunar-archive-plugin -pkgver=0.3.1 -pkgrel=1 -pkgdesc="create and deflate archives in thunar" -url="http://foo-projects.org/~benny/projects/thunar-archive-plugin/" +pkgver=0.4.0 +pkgrel=0 +pkgdesc="Create and deflate archives in Thunar" +url="https://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin" arch="all" -license="GPL-2.0" -depends= +license="GPL-2.0-only" +options="!check" # no test suite +depends="thunar" makedepends="gtk+-dev intltool thunar-dev exo-dev" -install= subpackages="$pkgname-lang" -source="http://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/${pkgver%.*}/thunar-archive-plugin-$pkgver.tar.bz2" +source="https://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/${pkgver%.*}/thunar-archive-plugin-$pkgver.tar.bz2" +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -21,18 +22,15 @@ build() { --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install # dont want file-roller rm -f "$pkgdir"/usr/lib/xfce4/thunar-archive-plugin/file-roller.tap } -md5sums="425f4faaace6dc7a4716a35b7795463a thunar-archive-plugin-0.3.1.tar.bz2" -sha256sums="9ad559b0c11308f6897ad56604e5a06dc8f369f649eb20120b2d3018ef5da54c thunar-archive-plugin-0.3.1.tar.bz2" -sha512sums="51157c2680b3fcc6b541d35fc2943a350a0354d7d5bbb5fbe8a9dcbbeaf4bf4f5fe62521b8e9a73254f70bbefc440357deade8181313da96270c280eb0464e68 thunar-archive-plugin-0.3.1.tar.bz2" +sha512sums="6590d8765ac6eab14fae7758e4c47c66b52e79e2e4b01a86d25bd35492590925ca35e4bbade8a9d8f0c73386eaeda6863e2a7a39a2df2904404f7e2bfdd91a44 thunar-archive-plugin-0.4.0.tar.bz2" |