diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,17 +1,19 @@ # Maintainer: Pau Ruiz Safont <unduthegun@gmail.com> pkgname=otfcc pkgver=0.9.6 -pkgrel=1 +pkgrel=2 +tgzver=0.9.6 +foldname="${pkgname}-${tgzver}" pkgdesc='A C library and utility for parsing and writing OpenType font files.' arch=('i686' 'x86_64') url='https://github.com/caryll/otfcc' license=('APACHE') makedepends=('premake-git') # premake5 -source=("https://github.com/caryll/${pkgname}/archive/v${pkgver}.tar.gz") +source=("https://github.com/caryll/${pkgname}/archive/v${tgzver}.tar.gz") md5sums=('4a1f654612a72f936337f5ec82dcaa46') build() { - cd "${pkgname}-${pkgver}" + cd "${foldname}" premake5 gmake cd build/gmake if [ "${CARCH}" = "x86_64" ]; then @@ -24,5 +26,5 @@ build() { package() { install -d "${pkgdir}/usr/bin" - install ${pkgname}-${pkgver}/bin/release-x*/otfcc* "${pkgdir}/usr/bin/" + install ${foldname}/bin/release-x*/otfcc* "${pkgdir}/usr/bin/" } |