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

View file

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