diff options
author | Matthew Gamble | 2015-09-17 09:11:28 +1000 |
---|---|---|
committer | Matthew Gamble | 2015-09-17 09:11:28 +1000 |
commit | 8300d240bfc4b60387df188ba1ff74d8364eebcb (patch) | |
tree | 945163465059db12cbb36c2054cc21e0c4db4732 /PKGBUILD | |
download | aur-garchdeps-git.tar.gz |
Initial migration of package to AUR4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..be2070f6746b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Matthew Gamble + +pkgname=garchdeps-git +pkgver=2013.09.21 +pkgrel=1 +pkgdesc="Tool that shows dependencies of Arch Linux packages in a graphical format" +arch=('any') +url="http://bruno.adele.im/projets/garchdeps" +license=('GPL3') +# Previously graphviz was a hard dependency. This was unnecessary, as the script +# does not call any graphviz binaries directly as far as I can tell. It just generates +# files that can be processed by the dot binary. +depends=('python') +makedepends=('git') +optdepends=('graphviz') +source=('git://github.com/badele/garchdeps.git') +sha256sums=('SKIP') + +pkgver() { + cd "garchdeps" + git log -1 --format=format:%cd --date=short | sed 's|-|.|g' +} + +package(){ + cd "$srcdir/garchdeps" + install -Dm 755 garchdeps.py $pkgdir/usr/bin/garchdeps.py +} |