diff options
author | Alexandre Bury | 2015-06-08 10:32:43 -0700 |
---|---|---|
committer | Alexandre Bury | 2015-06-08 10:32:43 -0700 |
commit | 7e42700a2c46ec3b34768c72141e26fe8591ad92 (patch) | |
tree | 587c20c53f0de5f99dcb2091786da58a101b6b46 /PKGBUILD | |
download | aur-7e42700a2c46ec3b34768c72141e26fe8591ad92.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..58b2cdf46271 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Alexandre Bury <alexandre.bury@gmail.com> +pkgname=jenn3d-git +pkgver=r21.d2eae24 +pkgrel=2 +pkgdesc="A toy for visualizing Coxeter polytopes" +arch=('any') +url="http://www.math.cmu.edu/~fho/jenn/" +license=('GPL2') +depends=('freeglut' 'glu' 'libpng') +install="jenn3d.install" +source=('git+https://github.com/fritzo/jenn3d' + 'jenn.desktop' 'jenn3d.install') +md5sums=(SKIP + '499c4275fb4ae1afd9a1b034c51ad54d' + '45ab05125b7409da2768c18182818bb0') + +pkgver() { + cd "jenn3d" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "jenn3d" + make +} + +package() { + install -D "jenn3d/jenn" "${pkgdir}/usr/bin/jenn" + install -Dm644 "jenn3d/jenn.png" "${pkgdir}/usr/share/icons/hicolor/72x72/apps/jenn.png" + install -Dm644 jenn.desktop "${pkgdir}/usr/share/applications/jenn.desktop" +} |