Update libsrk31c++ - install headers to include/srk31

This commit is contained in:
Théophile Bastian 2018-06-28 18:55:01 +02:00
parent 89064878df
commit 25bb8ad375
1 changed files with 6 additions and 1 deletions

View File

@ -9,12 +9,17 @@ pkgdesc="libsrk31cxx-git by Stephen R. Kell"
arch=('x86_64')
url="https://github.com/stephenrkell/libsrk31cxx"
license=('?')
depends=()
depends=(libcxxfileno)
makedepends=('git' 'make' 'autoconf')
install=
source=("git+https://github.com/stephenrkell/libsrk31cxx")
md5sums=('SKIP')
prepare() {
cd "$srcdir/${_pkgname}"
sed -i '1ipkgincludedir=$(includedir)' include/Makefile.am
}
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"