diff --git a/PKGBUILD b/PKGBUILD index eb886d7..3787fe3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,8 @@ # Maintainer: Jack L. Frost _srcname='ubase' -pkgname=halt-ubase-git +pkgbase=ubase-extras +pkgname=( halt-ubase-git killall5-ubase-git ) pkgver=r592.e0dc3f9 pkgrel=1 pkgdesc="halt from suckless.org's ubase" @@ -25,10 +26,10 @@ pkgver() { build() { cd "${_srcname}" - make halt + make halt killall5 } -package() { +package_halt-ubase-git() { cd "${_srcname}" mkdir -pm755 "$pkgdir/usr/bin" @@ -36,3 +37,12 @@ package() { install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } + +package_killall5-ubase-git() { + cd "${_srcname}" + + mkdir -pm755 "$pkgdir/usr/bin" + cp killall5 "$pkgdir/usr/bin/killall5" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}