make this a split package
This commit is contained in:
parent
363be6c92e
commit
9ab2e9da4b
16
PKGBUILD
16
PKGBUILD
|
@ -1,7 +1,8 @@
|
|||
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
||||
|
||||
_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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user