MiddleArch/pkgtmpl/libp7.j2

32 lines
630 B
Plaintext
Raw Normal View History

2021-08-31 00:11:27 +02:00
pkgname={{ name }}
2021-06-08 23:08:11 +02:00
pkgver={{ tag }}
pkgrel=1
pkgdesc="Casio Communication Protocol 7.00 implementation"
arch=('i686' 'x86_64')
url="https://p7.planet-casio.com"
license=('LGPL3')
groups=()
depends=('libusb>=1.0')
makedepends=('asciidoc>=8.6.9')
optdepends=()
provides=('libp7')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://p7.planet-casio.com/pub/${pkgname}-${pkgver}.tar.gz)
noextract=()
sha256sums=('{{ hash }}')
build() {
cd "$pkgname-$pkgver"
./configure --udev --udevrulesdir='${libdir}/udev/rules.d' && make
}
package() {
cd "$pkgname-$pkgver"
make install DESTDIR="$pkgdir"
}