diff --git a/aur-repo/dezoomify-rs/PKGBUILD b/aur-repo/dezoomify-rs/PKGBUILD new file mode 100644 index 00000000..fc6413ef --- /dev/null +++ b/aur-repo/dezoomify-rs/PKGBUILD @@ -0,0 +1,23 @@ +# Mantainer: arthurbpf + +pkgname=dezoomify-rs +pkgver=2.11.2 +pkgrel=1 +pkgdesc="Zoomable image downloader for Google Arts & Culture, Zoomify, IIIF, and others" +arch=('x86_64') +url="https://github.com/lovasoa/dezoomify-rs" +license=('GPL3') +makedepends=('rust') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/lovasoa/dezoomify-rs/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('19bcd079d8a370456080ba65b2f51fa4aa2eee00207a18aa9782dd7faef9acb9') + + +build() { + cd "$pkgname-$pkgver" + cargo build -r +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm0755 -t "${pkgdir}/usr/bin/" "target/release/${pkgname}" +} diff --git a/aur-repo/dezoomify-rs/lilac.yaml b/aur-repo/dezoomify-rs/lilac.yaml new file mode 100644 index 00000000..dd674722 --- /dev/null +++ b/aur-repo/dezoomify-rs/lilac.yaml @@ -0,0 +1,14 @@ +maintainers: + - github: taotieren +pre_build_script: aur_pre_build(maintainers='arthurbpf') +post_build: aur_post_build +# repo_depends: +# - +update_on: + - source: aur + aur: dezoomify-rs + - source: github + github: lovasoa/dezoomify-rs + use_max_tag: true + prefix: v +# - alias: python