diff options
author | L.G. Sarmiento | 2015-06-14 19:37:45 +0200 |
---|---|---|
committer | L.G. Sarmiento | 2015-06-14 19:37:45 +0200 |
commit | 44f791b36121aeae92f37ca21d388c9f35e2d638 (patch) | |
tree | d7a357872056234e982ac61eff21e7a76df0fa45 /PKGBUILD | |
download | aur-44f791b36121aeae92f37ca21d388c9f35e2d638.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..956ce14efd72 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Luis Sarmiento <lgsarmientop-ala-unal.edu.co> + +pkgname=dawncut +pkgver=1.54a +_pkgver=1_54a +pkgrel=3 +pkgdesc="Tool to generate a 3D DAWN scene data clipped with an arbitrary plane." +url="http://geant4.kek.jp/~tanaka/DAWN/About_DAWNCUT.html" +arch=('x86_64' 'i686') +license=('unknown') +depends=('dawn') +source=("http://geant4.kek.jp/~tanaka/src/${pkgname}_${_pkgver}.taz") +md5sums=('0c9f52f80c3fae6c37c58c6fd79bbb6b') + +build() { + cd "${srcdir}/${pkgname}_${_pkgver}" + make +} + +package() { + cd "${srcdir}/${pkgname}_${_pkgver}" + [ -d ${pkgdir}/usr/bin/ ] || install -d ${pkgdir}/usr/bin/ + install -m755 ${pkgname} ${pkgdir}/usr/bin/ + + _DOCDIR=usr/share/doc/${pkgname} + [ -d ${pkgdir}/${_DOCDIR} ] || install -d ${pkgdir}/${_DOCDIR} + install -m644 ${srcdir}/${pkgname}_${_pkgver}/*.html ${pkgdir}/${_DOCDIR} +}
\ No newline at end of file |