[arch-commits] Commit in detox/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Nov 9 22:33:36 UTC 2018
Date: Friday, November 9, 2018 @ 22:33:36
Author: foutrelis
Revision: 405008
archrelease: copy trunk to community-staging-x86_64
Added:
detox/repos/community-staging-x86_64/
detox/repos/community-staging-x86_64/PKGBUILD
(from rev 405007, detox/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: detox/repos/community-staging-x86_64/PKGBUILD (from rev 405007, detox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-09 22:33:36 UTC (rev 405008)
@@ -0,0 +1,30 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgname=detox
+pkgver=1.3.0
+pkgrel=2
+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