Compare commits
2 Commits
91744012fe
...
8bf95171c1
Author | SHA1 | Date | |
---|---|---|---|
8bf95171c1 | |||
c11e16746b |
23
PKGBUILD
23
PKGBUILD
@ -1,13 +1,13 @@
|
|||||||
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
||||||
|
|
||||||
pkgname='loksh'
|
pkgname='loksh'
|
||||||
pkgver='6.7'
|
pkgver='6.7.1'
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A Linux port of OpenBSD's ksh targeting musl"
|
pkgdesc="A Linux port of OpenBSD's ksh targeting musl"
|
||||||
arch=( 'i686' 'x86_64' )
|
arch=( 'i686' 'x86_64' )
|
||||||
url='https://github.com/dimkr/loksh'
|
url='https://github.com/dimkr/loksh'
|
||||||
license=( 'custom' )
|
license=( 'custom' )
|
||||||
source=( "https://github.com/dimkr/loksh/archive/${pkgver}.tar.gz" )
|
source=( "https://github.com/dimkr/loksh/releases/download/$pkgver/src.tar.xz" )
|
||||||
|
|
||||||
#_flag_static=1
|
#_flag_static=1
|
||||||
if (( _flag_static )); then
|
if (( _flag_static )); then
|
||||||
@ -19,13 +19,22 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$pkgname"
|
||||||
make ${_makeopts[*]}
|
meson --prefix=/ \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--datadir=/usr/share \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--buildtype=plain \
|
||||||
|
--bindir=/bin \
|
||||||
|
. output
|
||||||
|
|
||||||
|
ninja -C output
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$pkgname"
|
||||||
make DESTDIR="$pkgdir/" BIN_NAME='loksh' install
|
DESTDIR="$pkgdir" ninja -C output install
|
||||||
}
|
}
|
||||||
|
|
||||||
sha1sums=('74563362bcf69177c49ea3980bf48b99c80bd931')
|
sha1sums=('fc5f081423fcb922d02e97b733e4b45c8a359eb2')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user