diff options
author | Caleb Maclennan | 2021-07-27 14:18:26 +0300 |
---|---|---|
committer | Caleb Maclennan | 2021-07-27 14:18:26 +0300 |
commit | eb27402f25bdb800cde11ebcaa6bd482030364ff (patch) | |
tree | 7e612e4d389268167df29d02ab7d7706b62ef340 | |
parent | f7d6b1a3646eaaba96b1ebbf3f8284a01c78a715 (diff) | |
download | aur-eb27402f25bdb800cde11ebcaa6bd482030364ff.tar.gz |
upgpkg: u2o-git 0.7_0_gb8194e0-1
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 18 insertions, 19 deletions
@@ -1,16 +1,15 @@ pkgbase = u2o-git pkgdesc = USFM to OSIS bible format converter - pkgver = 0.6_2_gc84f35f + pkgver = 0.7_0_gb8194e0 pkgrel = 1 url = https://github.com/adyeths/u2o arch = any - license = unlicense + license = Unlicense + makedepends = git depends = python provides = u2o conflicts = u2o - options = !emptydirs - source = git://github.com/adyeths/u2o.git#branch=master + source = git+https://github.com/adyeths/u2o.git#branch=master sha256sums = SKIP pkgname = u2o-git - @@ -1,28 +1,28 @@ # Maintainer: Caleb Maclennan <caleb@alerque.com> pkgname=u2o-git -pkgver=0.6_2_gc84f35f +pkgver=0.7_0_gb8194e0 pkgrel=1 _branch=master -pkgdesc="USFM to OSIS bible format converter" -arch=('any') -url="https://github.com/adyeths/u2o" -license=('unlicense') -depends=('python') -options=(!emptydirs) +pkgdesc='USFM to OSIS bible format converter' +arch=(any) +url=https://github.com/adyeths/u2o +license=(Unlicense) +depends=(python) +makedepends=(git) provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -source=("git://github.com/adyeths/${pkgname%-git}.git#branch=$_branch") +source=("git+$url.git#branch=$_branch") sha256sums=('SKIP') pkgver() { - cd "${pkgname%-git}" - git describe --long --tags | sed 's/^v//;s/-/_/g' + cd "${pkgname%-git}" + git describe --always --long --tags --abbrev=7 HEAD | + sed 's/^v//;s/-/_/g' } package() { - cd "${pkgname%-git}" - mkdir -p "$pkgdir"/usr/bin - install -m0755 u2o.py "$pkgdir"/usr/bin/u2o - install -m0755 utaglist.py "$pkgdir"/usr/bin/utaglist + cd "${pkgname%-git}" + install -Dm0755 u2o.py "$pkgdir/usr/bin/u2o" + install -Dm0755 utaglist.py "$pkgdir/usr/bin/utaglist" } |