summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2014-01-02 03:32:57 -0600
committerDoug Newgard2014-01-02 03:32:57 -0600
commit8aacd9c159cd3ca89569b38cf3452b3c9c4935d2 (patch)
treec9f5baf1324d7eba6febb1eb27cb0247283362f0
parentf963b64a616c6a9a2930fd9b32c020755bc00464 (diff)
downloadaur-8aacd9c159cd3ca89569b38cf3452b3c9c4935d2.tar.gz
Major rewrite
Use current template Mention EFL in pkgdesc Correct license, BSD not GPL Fix deps Update to 0.5
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD40
2 files changed, 27 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a72cbd64ff..89ceb9b55ef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
pkgbase = eperiodique
- pkgdesc = A simple Periodic Table Of Elements viewer using elementary and edje
- pkgver = 0.4
+ pkgdesc = A simple Periodic Table Of Elements viewer using the EFL
+ pkgver = 0.5
pkgrel = 1
url = http://sourceforge.net/projects/eperiodique/
arch = i686
arch = x86_64
- license = GPL
+ license = BSD
depends = elementary
- depends = edje
- depends = gettext
- source = http://downloads.sourceforge.net/project/eperiodique/0.4/eperiodique-0.4.tar.bz2
- md5sums = 163f6ab416183bb4fc6fc035a620c551
+ source = http://downloads.sourceforge.net/project/eperiodique/0.5/eperiodique-0.5.tar.bz2
+ sha256sums = b2c15785e37e469ddb149e6110db453f4d2a97324e3d2998c34081505787d52d
pkgname = eperiodique
diff --git a/PKGBUILD b/PKGBUILD
index b4a8c34bde9..c8049434d6d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,33 @@
-# Maintainer: Marco Asa <marcoasa90 [at] gmail [dot] com>
+# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
+# Contributor: Marco Asa <marcoasa90 [at] gmail [dot] com>
+
pkgname=eperiodique
-pkgver=0.4
+pkgver=0.5
pkgrel=1
-pkgdesc="A simple Periodic Table Of Elements viewer using elementary and edje"
+pkgdesc="A simple Periodic Table Of Elements viewer using the EFL"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/eperiodique/"
-license=('GPL')
-depends=('elementary' 'edje' 'gettext')
-install=
-source=(http://downloads.sourceforge.net/project/eperiodique/0.4/eperiodique-0.4.tar.bz2)
-md5sums=('163f6ab416183bb4fc6fc035a620c551')
-
+license=('BSD')
+depends=('elementary')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
+sha256sums=('b2c15785e37e469ddb149e6110db453f4d2a97324e3d2998c34081505787d52d')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
-}
+ cd "$srcdir/$pkgname-$pkgver"
+
+ export CFLAGS="$CFLAGS -fvisibility=hidden"
-check() {
- cd "$srcdir/$pkgname-$pkgver"
- make -k check
+ ./configure \
+ --prefix=/usr
+
+ make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+# install license files
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}