Fix doas build

This commit is contained in:
Ella-0 2021-01-02 18:21:42 +00:00
parent 6c00de23cc
commit 97c4dac9ca

View file

@ -1,7 +1,7 @@
pkgver=6.8
pkgname=doas
pkgrel=1
bad=""
bad="gmake"
ext="doc"
fetch() {
@ -13,13 +13,14 @@ fetch() {
build() {
cd $pkgname-$pkgver
samu
./configure --prefix=/
gmake
}
package() {
cd $pkgname-$pkgver
install -d $pkgdir/bin
install -Dm4755 $pkgdir/bin doas
install -Dm4755 doas $pkgdir/bin
}
package_doc() {
@ -27,8 +28,8 @@ package_doc() {
install -d $pkgdir/share/man/
install -d $pkgdir/share/man/man1
install -d $pkgdir/share/man/man5
install -Dm644 $pkgdir/share/man/man1 doas.1
install -Dm644 $pkgdir/share/man/man5 doas.conf.5
install -Dm644 doas.1 $pkgdir/share/man/man1
install -Dm644 doas.conf.5 $pkgdir/share/man/man5
}
license() {