blob: 543fdc728e6744ff0a045269830cb0406bd21a59 (
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
37
38
39
40
|
# Maintainer : Daniel Bermond < gmail-com: danielbermond >
# Contributor: lily wilson <hotaru@thinkindifferent.net>
pkgname=libemf
pkgver=1.0.9
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')
depends=('gcc-libs')
source=("https://sourceforge.net/projects/libemf/files/libemf/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('dcc1f7dc09597a7e20fa808fbef03f0c5cbdd99d65a4fddd981d7f1dd6e28b81')
build() {
cd "${pkgname}-${pkgver}"
./configure \
--prefix='/usr' \
--enable-static='no' \
--enable-shared='yes' \
--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}"
make DESTDIR="$pkgdir" install
}
|