summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f2ce5a8daa4f70412a990b3935e90aa90b78b41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Carson Rueter <roachh@protonmail.com>
pkgname='cmdtools-git'
_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=('git')
md5sums=('SKIP')

pkgver() {
  cd $srcdir/$_pkgname
  git describe --tags | sed 's/-/.r/;s/-/./'
}

package() {
	cd $srcdir/$_pkgname/src
	for i in `find -type f`
		do install -Dm755 "$i" "$pkgdir/usr/bin/`basename $i`"
	done
}