31 lines
677 B
Bash
31 lines
677 B
Bash
|
# 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"
|
||
|
}
|