summaryrefslogtreecommitdiff
path: root/community/galculator/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/galculator/PKGBUILD')
-rw-r--r--community/galculator/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/galculator/PKGBUILD b/community/galculator/PKGBUILD
new file mode 100644
index 000000000..210ce954f
--- /dev/null
+++ b/community/galculator/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 92890 2013-06-18 08:47:35Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=galculator
+pkgver=2.1.2
+pkgrel=1
+pkgdesc='GTK+ based scientific calculator'
+arch=('i686' 'x86_64')
+url='http://galculator.sourceforge.net/'
+license=('GPL')
+depends=('gtk3' 'hicolor-icon-theme' 'gtk-update-icon-cache' 'desktop-file-utils')
+makedepends=('intltool')
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/galculator/galculator-$pkgver.tar.bz2)
+sha256sums=('23e7e8d02ec49bf06e061e7fa56c779fd0f353ec294c30fd88858786d8e4a79b')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ LDFLAGS+=' -lm'
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+}