diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,8 +1,8 @@ # Maintainer: grufo <madmurphy333@gmail.com> pkgname='libconfini-git' -_pkgname='libconfini' -pkgver='r125.8fe0464' +_libname='libconfini' +pkgver='r126.4e34376' pkgrel=1 pkgdesc='Yet another INI parser' arch=('i686' 'x86_64') @@ -10,40 +10,40 @@ url='https://madmurphy.github.io/libconfini/' license=('GPL') provides=('libconfini') conflicts=('libconfini') -source=("git+https://github.com/madmurphy/${_pkgname}.git") +source=("git+https://github.com/madmurphy/${_libname}.git") md5sums=('SKIP') pkgver() { - cd "${_pkgname}" + cd "${_libname}" printf "'r%s.%s'" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { - cd "${srcdir}/${_pkgname}" - ./autogen.sh --prefix=/usr + cd "${srcdir}/${_libname}" + ./autogen.sh --prefix=/usr CFLAGS='-pedantic -std=c99 -g -O2' } build() { - cd "${srcdir}/${_pkgname}" + cd "${srcdir}/${_libname}" make } check() { - cd "${srcdir}/${_pkgname}" + cd "${srcdir}/${_libname}" make check } package() { - cd "${srcdir}/${_pkgname}" + cd "${srcdir}/${_libname}" make DESTDIR="${pkgdir}" install } |