diff options
Diffstat (limited to 'community/galculator')
-rw-r--r-- | community/galculator/PKGBUILD | 29 | ||||
-rw-r--r-- | community/galculator/galculator.install | 10 |
2 files changed, 39 insertions, 0 deletions
diff --git a/community/galculator/PKGBUILD b/community/galculator/PKGBUILD new file mode 100644 index 000000000..58a85a7e7 --- /dev/null +++ b/community/galculator/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com> +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Alexander Fehr <pizzapunk gmail com> + +pkgname=galculator +pkgver=1.3.4 +pkgrel=1 +pkgdesc="GTK+ based scientific calculator" +arch=('i686' 'x86_64') +url="http://galculator.sourceforge.net/" +license=('GPL') +depends=('libglade') +makedepends=('intltool') +install="$pkgname.install" +source=("http://downloads.sourceforge.net/galculator/galculator-$pkgver.tar.bz2") +md5sums=('d30e6fbf5947bb1c873bc9d5a21046f1') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} diff --git a/community/galculator/galculator.install b/community/galculator/galculator.install new file mode 100644 index 000000000..a852f0449 --- /dev/null +++ b/community/galculator/galculator.install @@ -0,0 +1,10 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} +post_remove() { + post_install +} |