blob: 0140759309f015a423f389842f38bcb5e92b896a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Gabriel Jensen
pkgname=dux
pkgver=0.0.0_38.5976195
pkgrel=1
pkgdesc="General purpose library."
arch=("any")
url="https://mandelbrot.dk/dux"
depends=("zp")
makedepends=("git")
source=("git+https://mandelbrot.dk/dux")
license=("LGPL3")
sha512sums=("SKIP")
pkgver() {
cd "${srcdir}/dux"
printf "%s_%s.%s" "$(git describe --tags --abbrev=0)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | sed "s/-\(dev\|rel\)//g"
}
build() {
cd "${srcdir}/dux"
make -C"dux" -j$(($(nproc)+0x1))
}
package() {
cd "${srcdir}/dux"
make -C"dux" HDRDIR="${pkgdir}/usr/include" LIBDIR="${pkgdir}/usr/lib" install
}
|