diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-15 14:17:05 -0600 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-03-15 20:21:47 +0000 |
commit | 64f2a70441d5e18688dbfaf3cbb50eca118cb5f0 (patch) | |
tree | 37df3c358f125e081ace938b3837cf190b93a124 /testing/ubase | |
parent | 335d1a6015c2688e0bfa158c4d15fe88cc386d73 (diff) | |
download | aports-64f2a70441d5e18688dbfaf3cbb50eca118cb5f0.tar.bz2 aports-64f2a70441d5e18688dbfaf3cbb50eca118cb5f0.tar.xz |
testing/ubase: update to 20190312
Diffstat (limited to 'testing/ubase')
-rw-r--r-- | testing/ubase/APKBUILD | 28 |
1 files 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" |