44 lines
1.1 KiB
Bash
44 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=04
|
|
url='https://git.obarun.org/Obarun/oblibs.git'
|
|
track=tag
|
|
arch=(x86_64)
|
|
groups=(s6-suite)
|
|
depends=("skalibs>=2.13.0.0" "execline>=2.9.1.0")
|
|
makedepends=(git "skalibs>=2.13.0.0" "execline>=2.9.1.0")
|
|
target="v${pkgver}"
|
|
source=("$pkgname::git+https://git.obarun.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)
|
|
|
|
|