summaryrefslogtreecommitdiff
path: root/community/galculator/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/galculator/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
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
+}