diff options
author | Josef Miegl | 2019-02-07 19:30:23 +0100 |
---|---|---|
committer | Josef Miegl | 2019-02-07 19:30:23 +0100 |
commit | e13ea939ef3a50f4134fc36962a02234ccd49019 (patch) | |
tree | 05df9b13120a6b1e3fa92b34273290f9150a79f0 | |
parent | fbdce893ccfba7680c9009998630094e61556f99 (diff) | |
download | aur-e13ea939ef3a50f4134fc36962a02234ccd49019.tar.gz |
add makedepnds, style
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 24 insertions, 17 deletions
@@ -2,12 +2,17 @@ pkgbase = libasn1c-git pkgdesc = runtime library of Lev Walkin's asn1c split out as separate library pkgver = 0.9.31.3.g5e00d6f pkgrel = 1 - url = http://cgit.osmocom.org/libasn1c/ - arch = any + url = http://cgit.osmocom.org/libasn1c + arch = i686 + arch = x86_64 + arch = aarch64 + arch = armv7h license = GPL + makedepends = git + makedepends = talloc provides = libasn1c conflicts = libasn1c - source = git://git.osmocom.org/libasn1c + source = git+https://git.osmocom.org/libasn1c sha256sums = SKIP pkgname = libasn1c-git @@ -1,31 +1,33 @@ # Maintainer: Josef Miegl <josef@miegl.cz> pkgname=libasn1c-git -_pkgname=libasn1c -provides=("${_pkgname}") -conflicts=("${_pkgname}") pkgver=0.9.31.3.g5e00d6f pkgrel=1 pkgdesc="runtime library of Lev Walkin's asn1c split out as separate library" -url="http://cgit.osmocom.org/libasn1c/" -arch=('any') +url="http://cgit.osmocom.org/libasn1c" +arch=('i686' 'x86_64' 'aarch64' 'armv7h') license=(GPL) -source=("git://git.osmocom.org/${_pkgname}") +makedepends=('git' 'talloc') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("git+https://git.osmocom.org/${pkgname%-git}") sha256sums=('SKIP') pkgver() { - cd $_pkgname - echo $(git describe --always | sed 's/-/./g') + cd "${srcdir}/${pkgname%-git}" + echo $(git describe --always | sed 's/-/./g') } build() { - cd "${srcdir}/${_pkgname}" - autoreconf -i - ./configure --prefix=/usr - make + cd "${srcdir}/${pkgname%-git}" + autoreconf -i + ./configure --prefix=/usr + make } package() { - cd "${srcdir}/${_pkgname}" - make DESTDIR=${pkgdir} install + cd "${srcdir}/${pkgname%-git}" + make DESTDIR=${pkgdir} install } + +# vim:set ts=2 sw=2 et: |