diff options
author | binex-dsk | 2020-09-19 17:24:17 -0400 |
---|---|---|
committer | binex-dsk | 2020-09-19 17:24:17 -0400 |
commit | 42ff2c47968c8469411103c05e6a8edad2510e7b (patch) | |
tree | 43218e9a57998cf6bd7ddfe6ea83fd8fbf6ec720 | |
parent | f0148145eadc1b6b717deea0d1cb7d9644dfac43 (diff) | |
download | aur-42ff2c47968c8469411103c05e6a8edad2510e7b.tar.gz |
properly installs to the pkgdir
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 10 insertions, 8 deletions
@@ -1,11 +1,11 @@ pkgbase = cmdtools-git pkgdesc = Tools to manipulate, create, and view commands. - pkgver = 1.0.1 + pkgver = 1.0.1.r4.g9a36144 pkgrel = 1 url = https://github.com/binex-dsk/cmdtools arch = any license = GPL3 - makedepends = bash + makedepends = coreutils source = git+https://github.com/binex-dsk/cmdtools.git md5sums = SKIP @@ -1,22 +1,24 @@ # Maintainer: Carson Rueter <bottomtext97@gmail.com> pkgname='cmdtools-git' -reponame='cmdtools' -pkgver=1.0.1 +_pkgname='cmdtools' +pkgver=1.0.1.r4.g9a36144 pkgrel=1 pkgdesc="Tools to manipulate, create, and view commands." arch=('any') url="https://github.com/binex-dsk/cmdtools" license=('GPL3') source=("git+https://github.com/binex-dsk/cmdtools.git") -makedepends=('bash') +makedepends=('coreutils') md5sums=('SKIP') pkgver() { - cd $srcdir/$reponame + cd $srcdir/$_pkgname git describe --tags | sed 's/-/.r/;s/-/./' } package() { - cd $srcdir/$reponame - bash install.sh + cd $srcdir/$_pkgname/src + for i in find -type f -printf "%f \n" + do install -Dm755 "$i" "$pkgdir/usr/bin/`basename $i`" + done } |