mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
594 B
Bash
29 lines
594 B
Bash
pkgname=libwps
|
|
pkgver=0.4.8
|
|
pkgrel=1
|
|
pkgdesc="a Microsoft Works file word processor format import filter library"
|
|
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")
|
|
sha1sums=('cd0a38f937efd13b3ffd508f710a512cf8abbfd5')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|