Valijson
This commit is contained in:
24
valijson/PKGBUILD
Normal file
24
valijson/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Maintainer: Manuel Vögele <aur@manuel-voegele.de>
|
||||||
|
pkgname=valijson-git
|
||||||
|
pkgver=r80.414c46b
|
||||||
|
pkgrel=1
|
||||||
|
|
||||||
|
arch=('any')
|
||||||
|
source=('git+https://github.com/tristanpenman/valijson.git')
|
||||||
|
conflicts=('valijson')
|
||||||
|
provides=('valijson')
|
||||||
|
makedepends=('git')
|
||||||
|
depends=('boost')
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/valijson"
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p "${pkgdir}/usr/include/"
|
||||||
|
cp -r "${srcdir}/valijson/include/valijson" "${pkgdir}/usr/include/valijson"
|
||||||
|
find "${pkgdir}/usr/include/valijson/" -type d -exec chmod 755 {} \;
|
||||||
|
find "${pkgdir}/usr/include/valijson/" -type f -exec chmod 644 {} \;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user