[arch-commits] Commit in hashdeep/repos (community-x86_64 community-x86_64/PKGBUILD)
Alad Wenter
alad at archlinux.org
Thu Feb 8 19:56:48 UTC 2018
Date: Thursday, February 8, 2018 @ 19:56:45
Author: alad
Revision: 290363
archrelease: copy trunk to community-x86_64
Added:
hashdeep/repos/community-x86_64/
hashdeep/repos/community-x86_64/PKGBUILD
(from rev 290362, hashdeep/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: hashdeep/repos/community-x86_64/PKGBUILD (from rev 290362, hashdeep/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-02-08 19:56:45 UTC (rev 290363)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Alad Wenter <alad at mailbox.org>
+# Contributor: Uffe Jakobsen <uffe at uffe.org>
+pkgname=hashdeep
+pkgver=4.4
+pkgrel=4
+pkgdesc="cross-platform tools to message digests for any number of files"
+arch=('x86_64')
+url="https://github.com/jessek/hashdeep"
+license=('GPL' 'custom')
+depends=('gcc-libs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jessek/hashdeep/archive/v$pkgver.tar.gz")
+sha256sums=('ad78d42142f9a74fe8ec0c61bc78d6588a528cbb9aede9440f50b6ff477f3a7f')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ ./bootstrap.sh
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
More information about the arch-commits
mailing list