57 lines
1.6 KiB
Bash
57 lines
1.6 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/skarnet/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=execline
|
|
pkgver=2.9.3.0
|
|
_pkgver=v2.9.3.0
|
|
pkgrel=03
|
|
pkgdesc="An interpreter-less scripting language - Last ver that works with 66-EOL"
|
|
url="http://skarnet.org/software/execline/"
|
|
groups=(66-EOL)
|
|
depends=('skalibs=2.13.1.1')
|
|
makedepends=('git' 'skalibs=2.13.1.1')
|
|
# a0b46c927ebb2c60ac850964aa0b3cb28f6c8d74 refs/tags/v2.9.1.0 ## if you wanted a specific tag
|
|
source=("$pkgname::git+git://git.skarnet.org/execline#tag=${_pkgver}")
|
|
|
|
_pkgver() {
|
|
cd $pkgname
|
|
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"
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('ISC')
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
## d14e8223dc98b0fec8049d8521826be202c8aa7cf966c326dcea18b0456ca269 execline-2.9.3.0-03-x86_64.pkg.tar.lz
|
|
|