[arch-commits] Commit in (libemf libemf/repos libemf/trunk libemf/trunk/PKGBUILD)
Daniel Bermond
dbermond at archlinux.org
Thu Oct 3 11:36:41 UTC 2019
Date: Thursday, October 3, 2019 @ 11:36:40
Author: dbermond
Revision: 512483
Initial commit of libemf
Added:
libemf/
libemf/repos/
libemf/trunk/
libemf/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: libemf/trunk/PKGBUILD
===================================================================
--- libemf/trunk/PKGBUILD (rev 0)
+++ libemf/trunk/PKGBUILD 2019-10-03 11:36:40 UTC (rev 512483)
@@ -0,0 +1,34 @@
+# Maintainer : Daniel Bermond <dbermond at archlinux.org>
+# Contributor: lily wilson <hotaru at thinkindifferent.net>
+
+pkgname=libemf
+pkgver=1.0.11
+pkgrel=2
+pkgdesc='Library implementation of ECMA-234 API for the generation of enhanced metafiles'
+arch=('x86_64')
+url='http://libemf.sourceforge.net/'
+license=('GPL' 'LGPL')
+depends=('gcc-libs')
+source=("https://sourceforge.net/projects/libemf/files/libemf/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('741a611ce1e9636b4f22e1cc4436b6e08c972b1464affa85b46ebd7d9441b6c4')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix='/usr' \
+ --enable-static='no' \
+ --enable-shared='yes' \
+ --enable-threads \
+ --enable-editing
+
+ make
+}
+
+check() {
+ make -C "${pkgname}-${pkgver}" check
+}
+
+package() {
+ make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list