testing/ubase: update to 20190312

This commit is contained in:
Drew DeVault 2019-03-15 14:17:05 -06:00 committed by Kevin Daudt
parent 335d1a6015
commit 64f2a70441

View File

@ -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"