2015-04-29 08:45:30 +08:00
|
|
|
pkgname=libwps
|
2017-01-20 23:14:33 +08:00
|
|
|
pkgver=0.4.5
|
2015-04-29 08:45:30 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="a Microsoft Works file word processor format import filter library"
|
2015-07-13 01:01:43 +08:00
|
|
|
arch=('x86_64')
|
2015-04-29 08:45:30 +08:00
|
|
|
url="http://libwps.sourceforge.net/"
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('libwpd' 'librevenge')
|
|
|
|
source=("http://downloads.sourceforge.net/project/libwps/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz")
|
2017-01-20 23:14:33 +08:00
|
|
|
sha1sums=('a728c25404a03b35cd91626d11c928075d0f0104')
|
2015-04-29 08:45:30 +08:00
|
|
|
|
|
|
|
build() {
|
2015-07-13 01:01:43 +08:00
|
|
|
cd $pkgname-$pkgver
|
2015-08-29 21:12:03 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-static
|
2015-04-29 08:45:30 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2015-08-29 21:12:03 +08:00
|
|
|
check() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
2015-04-29 08:45:30 +08:00
|
|
|
package() {
|
2015-07-13 01:01:43 +08:00
|
|
|
cd $pkgname-$pkgver
|
2015-04-29 08:45:30 +08:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|