diff options
author | Ian D. Scott | 2015-06-18 09:52:20 -0700 |
---|---|---|
committer | Ian D. Scott | 2015-06-18 09:53:31 -0700 |
commit | 97ffcc793ba7589eb0cc4c3a7d1ef60d7e2f1d12 (patch) | |
tree | bdd28599eba09a2d2bf4186d172761e08fdcd421 /PKGBUILD | |
download | aur-genchemlab.tar.gz |
Import into git
Does not have earlier versions, because the aur would not accept the
large patch file from a previous commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..16b2f828df62 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Ian D. Scott <ian@perebruin.com> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: Tutku Dalmaz <tutkudalmaz@gmail.com>> + +pkgname=genchemlab +pkgver=1.0.1 +pkgrel=1 +pkgdesc="An application intended to simulate common general chemistry laboratory exercises" +arch=('i686' 'x86_64') +#url="http://genchemlab.sourceforge.net/" +url="https://github.com/ids1024/genchemlab/" +license=('GPL') +depends=('qt5-base' 'glu') +source=("https://github.com/ids1024/genchemlab/archive/v${pkgver}.tar.gz" + "desktop-file.patch") +md5sums=('c67acd494495572c876e807089429dc6' + 'ca2976a9c05e63682293b8137d5f6048') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np1 -i ../desktop-file.patch + qmake-qt5 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make INSTALL_ROOT="${pkgdir}" install +} |