[arch-commits] Commit in isomd5sum/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 16:55:26 UTC 2020
Date: Thursday, November 12, 2020 @ 16:55:25
Author: foutrelis
Revision: 752090
archrelease: copy trunk to community-staging-x86_64
Added:
isomd5sum/repos/community-staging-x86_64/
isomd5sum/repos/community-staging-x86_64/PKGBUILD
(from rev 752089, isomd5sum/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: isomd5sum/repos/community-staging-x86_64/PKGBUILD (from rev 752089, isomd5sum/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-12 16:55:25 UTC (rev 752090)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Patrick McCarty <pnorcks at gmail dot com>
+# Contributor: Fernando Munoz <f[at]beford.net>
+# Contributor: Alexandre Bique <bique.alexandre[at]gmail.com>
+
+pkgbase=isomd5sum
+pkgname=('isomd5sum' 'python-isomd5sum')
+pkgver=1.2.3
+pkgrel=5
+arch=('x86_64')
+license=('GPL')
+makedepends=('popt' 'python')
+url='https://github.com/rhinstaller/isomd5sum'
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/rhinstaller/isomd5sum/archive/$pkgver.tar.gz")
+options=('!emptydirs')
+sha512sums=('a500faa368377c8fb5dfc311bc3a6dbadd253e6af7928b691d1fc11e25b69819a611f72fa201e70f5df257cdc491c97d1f612bb179fa49de1fb0a638d6ac7972')
+
+prepare() {
+ sed -i -e 's/^\(LIBDIR = \)lib64/\1lib/' $pkgbase-$pkgver/Makefile
+}
+
+build() {
+ cd $pkgbase-$pkgver
+ make all
+}
+
+package_isomd5sum() {
+ depends=('popt')
+ pkgdesc="Utilities for working with md5sum implanted in ISO images"
+
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" install-bin install-devel
+}
+
+package_python-isomd5sum() {
+ depends=('python')
+ pkgdesc="Python3 bindings for isomd5sum"
+
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" install-python
+}
More information about the arch-commits
mailing list