Updated RE-flex PKGBUILD to install to more standard location.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
_pkgname="RE-flex"
|
_pkgname="RE-flex"
|
||||||
pkgname="${_pkgname}-git"
|
pkgname="${_pkgname}-git"
|
||||||
pkgver=v1.2.1.r0.g0b3a81b
|
pkgver=v1.3.8.r0.gd3820779
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="The regex-centric, fast and flexible scanner generator for C++"
|
pkgdesc="The regex-centric, fast and flexible scanner generator for C++"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -23,7 +23,7 @@ pkgver() {
|
|||||||
prepare() {
|
prepare() {
|
||||||
cd "${_pkgname}"
|
cd "${_pkgname}"
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
./configure --mandir=/usr/share/man/
|
./configure --mandir=/usr/share/man/ --prefix=/usr/
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@@ -32,12 +32,13 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
: #Do nothing
|
cd "${_pkgname}"
|
||||||
|
reflex --version >/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${_pkgname}"
|
cd "${_pkgname}"
|
||||||
make PREFIX=/usr DESTDIR="${pkgdir}/" install
|
make DESTDIR="${pkgdir}/" install
|
||||||
install -m644 -D LICENSE.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
install -m644 -D LICENSE.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
install -m644 -D README.md "$pkgdir/usr/share/doc/$pkgname/README"
|
install -m644 -D README.md "$pkgdir/usr/share/doc/$pkgname/README"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user