aboutsummaryrefslogtreecommitdiffstats
path: root/main/icon-naming-utils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-07 17:44:46 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-10 02:50:04 +0000
commit5285dae30ac91fd9a327bc6cce16bbb4ba5f49d9 (patch)
tree4f85831d1ff4a827d212b7def90dcd9b97626a06 /main/icon-naming-utils/APKBUILD
parentf77bdf7ea02ba69ca1ccdf302235eb21b556c269 (diff)
downloadaports-5285dae30ac91fd9a327bc6cce16bbb4ba5f49d9.tar.bz2
aports-5285dae30ac91fd9a327bc6cce16bbb4ba5f49d9.tar.xz
main/icon-naming-utils: modernise, mark no tests
Diffstat (limited to 'main/icon-naming-utils/APKBUILD')
-rw-r--r--main/icon-naming-utils/APKBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/main/icon-naming-utils/APKBUILD b/main/icon-naming-utils/APKBUILD
index 2ded3e6ec5..07fd7bf52a 100644
--- a/main/icon-naming-utils/APKBUILD
+++ b/main/icon-naming-utils/APKBUILD
@@ -5,32 +5,29 @@ pkgrel=2
pkgdesc="Maps the new names of icons for Tango to the legacy names used by the GNOME and KDE desktops."
url="http://tango.freedesktop.org/"
arch="noarch"
+options="!check" # No test suite.
license="GPL-2.0"
depends="perl-xml-simple"
makedepends=""
source="http://tango.freedesktop.org/releases/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir"/$pkgname-$pkgver
-build () {
- cd "$_builddir"
+build() {
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/icon-naming-utils \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
-package () {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/pkgconfig || return 1
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/pkgconfig
chmod +x "$pkgdir"/usr/lib/icon-naming-utils/icon-name-mapping
}
-md5sums="dd8108b56130b9eedc4042df634efa66 icon-naming-utils-0.8.90.tar.bz2"
-sha256sums="b1378679df4485b4459f609a3304238b3e92d91e43744c47b70abbe690d883d5 icon-naming-utils-0.8.90.tar.bz2"
sha512sums="7b2e3aa4c7a4857d3c190fb12d69d665bf63596a84735adddf7e67bc5e6b493eccd0b914bc32776934f04720c7071d6de35d55452ffd4966d7dbd8360907f727 icon-naming-utils-0.8.90.tar.bz2"