build-scripts/arch/exword_tools/PKGBUILD

31 lines
677 B
Bash
Raw Normal View History

2022-08-28 14:42:33 -07:00
# Maintainer: Alexander Rosenberg <zanderpkg at pm dot me>
pkgname=exword_tools
pkgver=1
pkgrel=1
pkgdesc='Cross platform implementation of TextLoader and CasioLibrary using libexword'
url='https://github.com/brijohn/exword_tools'
arch=('x86_64')
license=('UNKNOWN')
depends=('wxgtk3' 'libexword')
makedepends=('autoconf' 'automake' 'git' 'make')
source=('git+https://github.com/brijohn/exword_tools.git')
sha256sums=('SKIP')
pkgver(){
cd "$pkgname"
git rev-list --count HEAD
}
build() {
cd "$pkgname"
./autogen.sh
./configure --prefix="$pkgdir/usr"
}
package() {
cd "$pkgname"
make install
install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README"
}