42 lines
1 KiB
Text
42 lines
1 KiB
Text
# Maintainer: Eric Vidal <eric@obarun.org>
|
|
|
|
pkgname=execline
|
|
pkgver=2.8.1.0
|
|
pkgrel=1
|
|
pkgdesc="An interpreter-less scripting language."
|
|
arch=(x86_64)
|
|
url="http://skarnet.org/software/execline/"
|
|
license=('ISC')
|
|
groups=(s6-suite)
|
|
groups=('base' 's6-suite')
|
|
makedepends=('git' 'skalibs>=2.11.0.0')
|
|
source=("$pkgname::git+git://git.skarnet.org/execline#tag=v${pkgver}")
|
|
md5sums=('SKIP')
|
|
|
|
#pkgver() {
|
|
# cd $pkgbase
|
|
# git describe --tags | sed 's/-/+/g'
|
|
#}
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/libexec \
|
|
--bindir=/usr/bin \
|
|
--sbindir=/usr/bin \
|
|
--shebangdir=/usr/bin \
|
|
--disable-shared \
|
|
--with-lib=/usr/lib/skalibs
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
# add doc
|
|
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
|
|
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
|
|
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgname%-*}/COPYING"
|
|
}
|