jobcore/obarun/oblibs/PKGBUILD

42 lines
1.1 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/jobcore/obarun/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
# Maintainer : Eric Vidal <eric@obarun.org>
pkgname=oblibs
pkgdesc='Obarun C library'
pkgver=0.1.4.0
pkgrel=02
url='https://framagit.org/Obarun/oblibs.git'
track=tag
arch=(x86_64)
groups=(s6-suite)
depends=("skalibs>=2.11.2.0" "execline>=2.8.3.0")
makedepends=(git "skalibs>=2.11.2.0" "execline>=2.8.3.0")
target="v${pkgver}"
source=("$pkgname::git+https://framagit.org/Obarun/${pkgname}#${track}=${target}")
build() {
cd "$pkgname"
./configure \
--prefix=/usr \
--enable-static \
--disable-shared
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
install -Dm 0644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
#---- license gpg-key sha256sums ----
license=('ISC')
sha256sums=(SKIP)