~alpine/aports

[alpine-aports] [PATCH v2] testing/ubase: update to 20190312

Details
Message ID
<20190315201705.8589-1-sir@cmpwn.com>
Sender timestamp
1552681025
DKIM signature
missing
Download raw message
Patch: +18 -10
---
 testing/ubase/APKBUILD | 28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

diff --git a/testing/ubase/APKBUILD b/testing/ubase/APKBUILD
index 02f5a05c87..6709f80513 100644
--- a/testing/ubase/APKBUILD
+++ b/testing/ubase/APKBUILD
@@ -1,25 +1,33 @@
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
# Maintainer: Drew DeVault <sir@cmpwn.com>
_commit=3c88778c6c85d97fb63c41c05304519e0484b07c
pkgname=ubase
pkgver=0.1
pkgrel=1
pkgver=20190312
pkgrel=0
pkgdesc="Suckless collection of unportable base"
url="https://core.suckless.org/ubase"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
source="https://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz"
options="!check"
builddir="$srcdir/"$pkgname-$pkgver
makedepends="git"
source="" # source is only distributed as a git repo
options="suid !check" # upstream provides no test suite
builddir="$srcdir/$pkgname"

prepare() {
	cd "$srcdir"
	git clone git://git.suckless.org/ubase
	cd ubase
	git checkout $_commit
}

build() {
	cd "$builddir"
	make || return 1
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
	chmod a+s passwd
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="3d9feed9670cf2ad6a8af32d1ecf3c206c81c618ed4548127ff2ab18bf03dd31fb89abf7fc598c4422aa348099a62cf7bc0f7c5dbf652ecd0349afb5a1f30b34  ubase-0.1.tar.gz"
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)