summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e76f5503fca9f317af00d6cb2d58ebf49c540d3 (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
# Maintainer : Daniel Bermond < yahoo-com: danielbermond >
# Contributor: lily wilson <hotaru@thinkindifferent.net>

pkgname=libemf
pkgver=1.0.9
pkgrel=2
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")
sha256sums=('dcc1f7dc09597a7e20fa808fbef03f0c5cbdd99d65a4fddd981d7f1dd6e28b81')

build() {
    cd "${pkgname}-${pkgver}"
    
    ./configure \
        --prefix='/usr' \
        --enable-static='no' \
        --enable-shared='yes' \
        --enable-fast-install \
        --enable-threads \
        --enable-editing
        
    make
}

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