summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2018-12-03 17:58:45 +0000
committerDaniel Bermond2018-12-03 17:59:06 +0000
commit33c8ef560d14f2c1f7cd7be4d066cc6fc7d81445 (patch)
tree880517f3b14b35097450992970baba2034537f37
parent004aacbee40c7d11270d0941b4afdababf39eece (diff)
downloadaur-33c8ef560d14f2c1f7cd7be4d066cc6fc7d81445.tar.gz
Add tests. Add dependency. Remove unneeded soprovides.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD17
2 files changed, 15 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d0deb04d58..3f7b42fa153 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = libemf
pkgdesc = Library implementation of ECMA-234 API for the generation of enhanced metafiles
pkgver = 1.0.9
- pkgrel = 2
+ pkgrel = 3
url = http://libemf.sourceforge.net/
arch = i686
arch = x86_64
license = GPL
license = LGPL
- provides = libEMF.so
- source = http://sourceforge.net/projects/libemf/files/libemf/1.0.9/libemf-1.0.9.tar.gz
+ depends = gcc-libs
+ source = https://sourceforge.net/projects/libemf/files/libemf/1.0.9/libemf-1.0.9.tar.gz
sha256sums = dcc1f7dc09597a7e20fa808fbef03f0c5cbdd99d65a4fddd981d7f1dd6e28b81
pkgname = libemf
diff --git a/PKGBUILD b/PKGBUILD
index 9e76f5503fc..543fdc728e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
-# Maintainer : Daniel Bermond < yahoo-com: danielbermond >
+# Maintainer : Daniel Bermond < gmail-com: danielbermond >
# Contributor: lily wilson <hotaru@thinkindifferent.net>
pkgname=libemf
pkgver=1.0.9
-pkgrel=2
+pkgrel=3
pkgdesc='Library implementation of ECMA-234 API for the generation of enhanced metafiles'
arch=('i686' 'x86_64')
url='http://libemf.sourceforge.net/'
license=('GPL' 'LGPL')
-provides=('libEMF.so')
-source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+depends=('gcc-libs')
+source=("https://sourceforge.net/projects/libemf/files/libemf/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('dcc1f7dc09597a7e20fa808fbef03f0c5cbdd99d65a4fddd981d7f1dd6e28b81')
build() {
@@ -19,13 +19,20 @@ build() {
--prefix='/usr' \
--enable-static='no' \
--enable-shared='yes' \
- --enable-fast-install \
--enable-threads \
--enable-editing
make
}
+check() {
+ cd "${pkgname}-${pkgver}"
+
+ # the test 'docheck2' may randonly fail when using multiple jobs
+ # https://sourceforge.net/p/libemf/bugs/4/
+ make -j1 check
+}
+
package() {
cd "${pkgname}-${pkgver}"