2015-04-29 08:45:30 +08:00
|
|
|
pkgname=libwps
|
2018-02-04 10:16:22 +08:00
|
|
|
pkgver=0.4.8
|
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")
|
2018-02-04 10:16:22 +08:00
|
|
|
sha1sums=('cd0a38f937efd13b3ffd508f710a512cf8abbfd5')
|
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
|
|
|
|
}
|
|
|
|
|