updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gelemental / PKGBUILD
blob1ad255aed0a8eff51f2337a631fcb8fb6b2d0076
1 # Contributor: Javier "Phrodo_00" Aravena <phrodo.00@gmail.com>
2 # Contributor: Marcos Heredia <chelqo_at_gmail_dot_com> (REALLY FROM OPENSUSE.ORG!!)
4 pkgname=gelemental
5 pkgver=1.2.0
6 pkgrel=3
7 pkgdesc="gElemental is a periodic table viewer that provides detailed information on the chemical elements."
8 arch=('i686' 'x86_64')
9 url="http://www.kdau.com/projects/gelemental/"
10 license=('GPL')
11 depends=('glibmm>=2.6' 'gtkmm>=2.6')
12 makedepends=('bzip2' 'gettext' 'libtool' 'pkgconfig')
13 source=("https://api.opensuse.org/public/source/Education/gelemental/$pkgname-$pkgver.tar.bz2"
14         "https://api.opensuse.org/public/source/Education/gelemental/$pkgname-$pkgver-gcc43.patch")
15 md5sums=('efe3dc7b408c0c8c0b72fdd0733b2fb6'
16          'c91f3e04a4eb50301f09703d17c3c156')
17 build() {
18   (cd $startdir/src/ ; patch -p0 -s <../$pkgname-$pkgver-gcc43.patch)
19   cd $startdir/src/$pkgname-$pkgver
20   ./configure --prefix=/usr
21   make || return 1
22   make DESTDIR=$startdir/pkg install