aboutsummaryrefslogtreecommitdiffstats
path: root/main/intltool
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-29 00:31:54 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-03-29 00:33:48 +0200
commitf3f13aa97260dfcfb245c2e0f3f0ac96cb54a9f8 (patch)
tree1e59d26db2104bfacf31ba6d725a8277992b69d6 /main/intltool
parentad50ed11885503afddbe13b7b754e95f1bfffa3c (diff)
downloadaports-f3f13aa97260dfcfb245c2e0f3f0ac96cb54a9f8.tar.bz2
aports-f3f13aa97260dfcfb245c2e0f3f0ac96cb54a9f8.tar.xz
main/intltool: modernize abuild
Diffstat (limited to 'main/intltool')
-rw-r--r--main/intltool/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/main/intltool/APKBUILD b/main/intltool/APKBUILD
index 59cee6dd86..9739c4733a 100644
--- a/main/intltool/APKBUILD
+++ b/main/intltool/APKBUILD
@@ -8,11 +8,11 @@ arch="noarch"
license="GPL2"
depends="perl perl-xml-parser gettext"
subpackages="$pkgname-doc"
-source="http://edge.launchpad.net/intltool/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
+source="http://edge.launchpad.net/intltool/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
-_builddir="$srcdir"/$pkgname-$pkgver
build () {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -22,10 +22,8 @@ build () {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="12e517cac2b57a0121cda351570f1e63 intltool-0.51.0.tar.gz"
-sha256sums="67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd intltool-0.51.0.tar.gz"
sha512sums="4c93cb26592ed0b1622d3b7800b5d6622ffa36f58ac73f2ef0bddfab522565fdfb8fa73d81914b9a202f1d62bc995a08960f8adb9f62c86918e75498e85fbfdf intltool-0.51.0.tar.gz"