blob: 5adfae8f74f86d7364386400df453710796c7b48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer : Marcos Heredia <chelqo@gmail.com>
# Contributor: www.opensuse.com
# Contributor: Javier "Phrodo_00" Aravena <phrodo.00@gmail.com>
# Contributor: Ivan Stojic <ivstojic@inet.hr>
# Contributor: Paul N. Maxwell <msg.maxwel@gmail.com>
# Contributor: James Chai <cth451@gmail.com>
# Contributor: hxtk
pkgname=gelemental
pkgver=2.0.2
pkgrel=1
pkgdesc="gElemental is a periodic table viewer that provides detailed information on the chemical elements"
arch=('i686' 'x86_64')
url="https://github.com/ginggs/gelemental"
license=('GPL')
depends=('gtkmm' 'gdk-pixbuf2')
makedepends=('gawk' 'make' 'gettext' 'libtool' 'pkgconf' 'intltool' 'perl>=5.8.1' 'doxygen')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/ginggs/${pkgname}/archive/v${pkgver}.tar.gz)
md5sums=('cbbc25d9648c76d8f17a96db3fa30314')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -dpm755 "${pkgdir}/usr/share/licenses/${pkgname}/"
install -Dpm644 COPYING COPYING.DATA "${pkgdir}/usr/share/licenses/${pkgname}/"
install -dpm755 "${pkgdir}/usr/share/doc/${pkgname}/"
install -Dpm644 AUTHORS ChangeLog INSTALL NEWS* README TODO TRANSLATORS "${pkgdir}/usr/share/doc/${pkgname}/"
}
|