[arch-commits] Commit in detox/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:47:14 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:47:13
  Author: felixonmars
Revision: 659859

archrelease: copy trunk to community-staging-x86_64

Added:
  detox/repos/community-staging-x86_64/
  detox/repos/community-staging-x86_64/PKGBUILD
    (from rev 659858, detox/trunk/PKGBUILD)

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

Copied: detox/repos/community-staging-x86_64/PKGBUILD (from rev 659858, detox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:47:13 UTC (rev 659859)
@@ -0,0 +1,30 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgname=detox
+pkgver=1.3.0
+pkgrel=3
+pkgdesc="An utility designed to clean up filenames by replacing characters with standard equivalents"
+arch=('x86_64')
+url="https://github.com/dharple/detox"
+license=('BSD')
+makedepends=('flex')
+backup=('etc/detox/detoxrc')
+source=($pkgname-$pkgver.tar.gz::https://github.com/dharple/detox/archive/v1.3.0.tar.gz)
+sha256sums=('00daf6b019b51c7bbc3ac96deeeec18fd886c144eeee97c3372dd297bb134c84')
+
+build() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  autoreconf --install
+  ./configure --prefix=/usr --sysconfdir=/etc/detox
+  make
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  make DESTDIR="${pkgdir}" install
+
+#license file
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list