summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2a3920932d0cc98b4e5c473748bb0aae6ddbd1a (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
# Maintainer : Daniel Bermond < gmail-com: danielbermond >
# Contributor: lily wilson <hotaru@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() {
    cd "${pkgname}-${pkgver}"
    
    make check
}

package() {
    cd "${pkgname}-${pkgver}"
    
    make DESTDIR="$pkgdir" install
}