From 48c0dff919bbe18a9fe61736b217cde0b253da02 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 30 Nov 2013 16:54:29 +0000 Subject: main/bkeymaps: split functions --- main/bkeymaps/APKBUILD | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'main/bkeymaps/APKBUILD') diff --git a/main/bkeymaps/APKBUILD b/main/bkeymaps/APKBUILD index a33b8d9bb8..88b2375050 100644 --- a/main/bkeymaps/APKBUILD +++ b/main/bkeymaps/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=bkeymaps pkgver=1.13 -pkgrel=2 +pkgrel=3 pkgdesc="Binary keymaps for busybox" url="http://dev.alpinelinux.org/bkeymaps" arch="noarch" @@ -9,8 +9,17 @@ license="GPL" depends="busybox" source="http://dev.alpinelinux.org/$pkgname/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install + cd "$_builddir" + return 0 } + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + md5sums="a68058ab4a81cf9a8dcbaaa7a5df5b11 bkeymaps-1.13.tar.gz" +sha256sums="59d41ddb0c7a92d8ac155a82ed2875b7880c8957ea4308afa633c8b81e5b8887 bkeymaps-1.13.tar.gz" +sha512sums="abea2576d3b9c4144275e446a6bf67491b0fc7d8e4605f43dba30a8192203d195becd0f3e38ed37987a919d1609e03d966b714a6568985958ba2fddc862c51bf bkeymaps-1.13.tar.gz" -- cgit v1.2.3