[arch-commits] Commit in oxipng/repos (community-x86_64 community-x86_64/PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Tue Feb 4 10:10:52 UTC 2020


    Date: Tuesday, February 4, 2020 @ 10:10:52
  Author: jelle
Revision: 562024

archrelease: copy trunk to community-x86_64

Added:
  oxipng/repos/community-x86_64/
  oxipng/repos/community-x86_64/PKGBUILD
    (from rev 562023, oxipng/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: oxipng/repos/community-x86_64/PKGBUILD (from rev 562023, oxipng/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-02-04 10:10:52 UTC (rev 562024)
@@ -0,0 +1,27 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Nicolas F. <aur at fratti.ch>
+
+pkgname=oxipng
+pkgver=2.3.0
+pkgrel=2
+pkgdesc="A lossless PNG compression optimiser"
+arch=(x86_64)
+url="https://github.com/shssoichiro/oxipng"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/shssoichiro/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('870c6ab802ca4df6d12a5570b6883e7e3b190bbe6e2fa91282af9b294c8e68b4')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  cargo build --release --locked
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  install -Dm755 target/release/oxipng "$pkgdir/usr/bin/oxipng"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list