desktop/libwps/PKGBUILD

29 lines
594 B
Bash
Raw Normal View History

pkgname=libwps
2018-02-04 10:16:22 +08:00
pkgver=0.4.8
pkgrel=1
pkgdesc="a Microsoft Works file word processor format import filter library"
2015-07-13 01:01:43 +08:00
arch=('x86_64')
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')
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
make
}
2015-08-29 21:12:03 +08:00
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
2015-07-13 01:01:43 +08:00
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}