diff options
author | Michal Siedlaczek | 2020-07-06 10:40:00 -0400 |
---|---|---|
committer | Michal Siedlaczek | 2020-07-06 10:40:00 -0400 |
commit | 3bb329f66fe4a029182dae45104aecbc442506e3 (patch) | |
tree | b6f07a767fde1f70f9747b39dafc2e13faf5736b | |
download | aur-ciff-pisa.tar.gz |
Version 0.1.1
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..60b75072677d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ciff-pisa + pkgdesc = Conversion tool from PISA binary collection to CIFF and back + pkgver = 0.1.1 + pkgrel = 1 + url = https://github.com/pisa-engine/ciff/ + arch = any + license = Apache License 2.0 + makedepends = rust + depends = glibc + depends = gcc-libs + source = ciff-pisa-0.1.1.tar.gz::https://github.com/pisa-engine/ciff//archive/v0.1.1.tar.gz + md5sums = 0f73dcd5accec881b52b414cf3ac36c8 + +pkgname = ciff-pisa + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d11442e96bb9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Michal Siedlaczek <siedlaczek at pm dot me> +pkgname=ciff-pisa +pkgver=0.1.1 +pkgrel=1 +pkgdesc="Conversion tool from PISA binary collection to CIFF and back" +arch=('any') +url="https://github.com/pisa-engine/ciff/" +license=('Apache License 2.0') +depends=('glibc' 'gcc-libs') +makedepends=('rust') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +md5sums=('0f73dcd5accec881b52b414cf3ac36c8') + +build() { + cd "ciff-${pkgver}" + cargo build --release --locked +} + +package() { + install -Dm755 "ciff-${pkgver}/target/release/ciff2pisa" "${pkgdir}/usr/bin/ciff2pisa" + install -Dm755 "ciff-${pkgver}/target/release/pisa2ciff" "${pkgdir}/usr/bin/pisa2ciff" +} |