25 lines
670 B
Bash
25 lines
670 B
Bash
# 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 {} \;
|
|
}
|