summaryrefslogtreecommitdiffstats
path: root/main/galculator/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/galculator/APKBUILD')
-rw-r--r--main/galculator/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/galculator/APKBUILD b/main/galculator/APKBUILD
new file mode 100644
index 000000000..4ef92f888
--- /dev/null
+++ b/main/galculator/APKBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=galculator
+pkgver=1.3.4
+pkgrel=0
+pkgdesc="GTK+ based scientific calculator"
+url="http://galculator.sourceforge.net/"
+license="GPL"
+depends=
+makedepends="intltool libglade-dev gtk+-dev"
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$srcdir/galculator-$pkgver"
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir/galculator-$pkgver"
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="d30e6fbf5947bb1c873bc9d5a21046f1 galculator-1.3.4.tar.bz2"