52 lines
1.4 KiB
Bash
52 lines
1.4 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=skalibs
|
|
pkgver=2.13.1.1
|
|
_pkgver=v2.13.1.1
|
|
pkgrel=02
|
|
pkgdesc="A general-purpose low-level C library - Last ver that works with 66-EOL"
|
|
url="http://www.skarnet.org/software/skalibs/"
|
|
groups=(66-EOL)
|
|
makedepends=('git')
|
|
source=("$pkgname::git+git://git.skarnet.org/skalibs#tag=v${pkgver}")
|
|
# 9476bb47403dd058681ceeb6459817e044cc6f1c refs/tags/v2.13.1.1
|
|
#source=("$pkgname::git+git://git.skarnet.org/skalibs#commit=$_commit")
|
|
|
|
_pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
./configure --prefix=/usr \
|
|
--with-default-path=/usr/bin \
|
|
--disable-shared
|
|
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)
|
|
|
|
## 2165d45c8ce3fbf45b92379cd2dbdf11755b714ee899cbb0df51328331a0f472 skalibs-2.13.1.1-02-x86_64.pkg.tar.lz
|