summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-10 05:17:02 -0600
committerBrian Bidulock2015-06-10 05:17:02 -0600
commit3408e3e26f6a7e0e5dd77a00fcf6915acd8041b7 (patch)
tree0adb3e400d61fa8a0499cb2d01fed48172c02807 /PKGBUILD
downloadaur-3408e3e26f6a7e0e5dd77a00fcf6915acd8041b7.tar.gz
initial version
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..408f76ac6d6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+# Contributor: Matt McDonald <metzen@gmail.com>
+
+pkgname=calcoo
+pkgver=1.3.18
+pkgrel=4
+pkgdesc="RPN and algebraic scientific calculator"
+url="http://calcoo.sourceforge.net"
+license=("GPL")
+depends=('cairo' 'gtk2')
+arch=('i686' 'x86_64')
+source=(http://downloads.sourceforge.net/calcoo/$pkgname-$pkgver.tar.gz
+ calcoo.png
+ calcoo.desktop)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make LIBS='-lm'
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/calcoo.png" "$pkgdir/usr/share/pixmaps/calcoo.png"
+ install -Dm644 "$srcdir/calcoo.desktop" "$pkgdir/usr/share/applications/calcoo.desktop"
+}
+
+md5sums=('0740045dc83fb74c7b40a785b37a6514'
+ '11153b0b476e41f649b6a174bea7db6e'
+ 'd560d82dd5869120f6d544ac4d10cb9b')