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

Jelle van der Waa jelle at archlinux.org
Wed Apr 22 14:45:46 UTC 2020


    Date: Wednesday, April 22, 2020 @ 14:45:46
  Author: jelle
Revision: 617659

archrelease: copy trunk to community-x86_64

Added:
  svgcleaner/repos/community-x86_64/PKGBUILD
    (from rev 617658, svgcleaner/trunk/PKGBUILD)
Deleted:
  svgcleaner/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   51 ++++++++++++++++++++++++++-------------------------
 1 file changed, 26 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-22 14:45:35 UTC (rev 617658)
+++ PKGBUILD	2020-04-22 14:45:46 UTC (rev 617659)
@@ -1,25 +0,0 @@
-# Contributor: Mitsu <archlinux AT suumitsu DOT eu>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=svgcleaner
-pkgver=0.9.5
-pkgrel=1
-pkgdesc="An application that cleans svg images from unnecessary data in batch mode."
-arch=('x86_64')
-url="https://github.com/RazrFalcon/SVGCleaner"
-license=('GPL2')
-makedepends=('gcc-libs' 'cargo')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/RazrFalcon/SVGCleaner/archive/v${pkgver}.tar.gz")
-sha256sums=('dcf8dbc8939699e2e82141cb86688b6cd09da8cae5e18232ef14085c2366290c')
-
-build() {
-  cd "${srcdir}/svgcleaner-${pkgver}/src/"
-  cargo clean
-  cargo build --release
-}
-
-package() {
-  cd "${srcdir}/svgcleaner-${pkgver}/target/release"
-  install -Dm755 "svgcleaner" "${pkgdir}/usr/bin/svgcleaner"
-}

Copied: svgcleaner/repos/community-x86_64/PKGBUILD (from rev 617658, svgcleaner/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-22 14:45:46 UTC (rev 617659)
@@ -0,0 +1,26 @@
+# Contributor: Mitsu <archlinux AT suumitsu DOT eu>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=svgcleaner
+pkgver=0.9.5
+pkgrel=2
+pkgdesc="An application that cleans svg images from unnecessary data in batch mode."
+arch=('x86_64')
+url="https://github.com/RazrFalcon/SVGCleaner"
+license=('GPL2')
+makedepends=('gcc-libs' 'cargo')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/RazrFalcon/SVGCleaner/archive/v${pkgver}.tar.gz")
+sha256sums=('dcf8dbc8939699e2e82141cb86688b6cd09da8cae5e18232ef14085c2366290c')
+
+build() {
+  cd "svgcleaner-${pkgver}/src/"
+  # Add --locked when tarball contains a Cargo.lock
+  cargo build --release
+}
+
+
+package() {
+  cd "svgcleaner-${pkgver}/target/release"
+  install -Dm755 "svgcleaner" "${pkgdir}/usr/bin/svgcleaner"
+}



More information about the arch-commits mailing list