diff options
author | binex-dsk | 2020-07-14 21:49:10 -0400 |
---|---|---|
committer | binex-dsk | 2020-07-14 21:49:10 -0400 |
commit | 81b0a3e3b3b8a5fcf2d98352561c1b4cd8c59881 (patch) | |
tree | c1a233c0d626e57da45dd27918d4b5414e710e4a | |
parent | 8e8faf4359ddeb38eb4cdfb2a840ecbe6181e563 (diff) | |
download | aur-81b0a3e3b3b8a5fcf2d98352561c1b4cd8c59881.tar.gz |
apparently it works with makepkg but not yay
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 6 insertions, 7 deletions
@@ -6,7 +6,7 @@ pkgbase = cmdtools-git arch = any license = GPL3 depends = shc - source = src-1.0.0::https://github.com/binex-dsk/cmdtools/releases/download/1.0.0/src-1.0.0.tar.gz + source = 1.0.0.tar.gz::https://github.com/binex-dsk/cmdtools/archive/1.0.0.tar.gz md5sums = ff7a69ed5fc64db79bc1a466946d96f2 pkgname = cmdtools-git @@ -7,19 +7,18 @@ pkgdesc="Tools to manipulate, create, and view commands." arch=('any') url="https://github.com/binex-dsk/cmdtools" license=('GPL3') -source=("src-${pkgver}::https://github.com/binex-dsk/${reponame}/releases/download/${pkgver}/src-${pkgver}.tar.gz") +source=("${pkgver}.tar.gz::https://github.com/binex-dsk/${reponame}/archive/${pkgver}.tar.gz") depends=('shc') md5sums=('ff7a69ed5fc64db79bc1a466946d96f2') pkgver() { - git clone "${url}.git" getver - cd "getver" + git clone "${url}.git" + cd $reponame git describe --tags | sed 's/-/.r/;s/-/./' } package() { - for i in `ls *cmd`; do - shc -f "$i" -o "$i.comp" - install -Dm755 "$i.comp" "${pkgdir}/usr/bin/$i" + for i in `ls src`; do + install -Dm755 "$i" "${pkgdir}/usr/bin/$i" done } |