diff options
author | oli | 2015-06-12 21:51:52 +0200 |
---|---|---|
committer | oli | 2015-06-12 21:51:52 +0200 |
commit | 84e9e81b64e2aaee7c2db6e902a053bdf3c8b86d (patch) | |
tree | a38520f8c7023d7c8a9afe8e739abd8c528d67b5 | |
download | aur-gstatz.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 | ||||
-rw-r--r-- | gstatz.desktop | 6 |
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..43b9db68d803 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = gstatz + pkgdesc = utility for tracking cycles of menstruation and for prediction of next period's date + pkgver = 1.3 + pkgrel = 3 + url = http://sourceforge.net/projects/gstatz/ + arch = i686 + license = GPL-3 + depends = java-runtime + source = http://downloads.sourceforge.net/gstatz/GStatz-1.3.tar.gz + source = gstatz.desktop + md5sums = 3048e374fab008da862f67b941302642 + md5sums = 5519455d2ae558c537980bb987cf1138 + +pkgname = gstatz + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..51479ea9c3da --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: jose <jose1711 [at] gmail (dot) com> + +pkgname=gstatz +pkgver=1.3 +pkgrel=3 +pkgdesc="utility for tracking cycles of menstruation and for prediction of next period's date" +arch=('i686') +url="http://sourceforge.net/projects/gstatz/" +license=("GPL-3") +depends=('java-runtime') +source=("http://downloads.sourceforge.net/gstatz/GStatz-${pkgver}.tar.gz" "gstatz.desktop") +md5sums=('3048e374fab008da862f67b941302642' + '5519455d2ae558c537980bb987cf1138') + +build() { +true +} + +package() { +cd $srcdir/GStatz-${pkgver} +rm ./start.bat ./start.sh +echo -e "#"'!'"/bin/bash\njava -Xmx128M -jar /usr/share/GStatz-${pkgver}/GStatz.jar" >./gstatz +mkdir -p $pkgdir/usr/share/GStatz-${pkgver} $pkgdir/usr/bin $pkgdir/usr/share/GStatz-${pkgver}/lib +install -D -m644 lib/* $pkgdir/usr/share/GStatz-${pkgver}/lib +install -D -m644 * $pkgdir/usr/share/GStatz-${pkgver} || true +install -D -m755 ./gstatz $pkgdir/usr/bin +install -D -m644 $srcdir/gstatz.desktop $pkgdir/usr/share/applications/gstatz.desktop +} diff --git a/gstatz.desktop b/gstatz.desktop new file mode 100644 index 000000000000..c63b030c1539 --- /dev/null +++ b/gstatz.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=GStatz +Comment=Tracking menstrual cycles +Exec=gstatz +Categories=Education;Calendar; |