[arch-commits] Commit in isomd5sum/repos (4 files)
Felix Yan
fyan at archlinux.org
Thu Oct 2 02:02:36 UTC 2014
Date: Thursday, October 2, 2014 @ 04:02:35
Author: fyan
Revision: 119995
archrelease: copy trunk to community-i686, community-x86_64
Added:
isomd5sum/repos/community-i686/
isomd5sum/repos/community-i686/PKGBUILD
(from rev 119994, isomd5sum/trunk/PKGBUILD)
isomd5sum/repos/community-x86_64/
isomd5sum/repos/community-x86_64/PKGBUILD
(from rev 119994, isomd5sum/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
Copied: isomd5sum/repos/community-i686/PKGBUILD (from rev 119994, isomd5sum/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-10-02 02:02:35 UTC (rev 119995)
@@ -0,0 +1,45 @@
+# $Id$
+# 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' 'python2-isomd5sum')
+pkgver=1.0.12
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('GPL')
+makedepends=('popt' 'python2')
+url='https://git.fedorahosted.org/git/isomd5sum.git'
+source=("https://git.fedorahosted.org/cgit/isomd5sum.git/snapshot/isomd5sum-$pkgver.tar.xz")
+options=('!emptydirs')
+sha1sums=('db46d6f6f8b197dfc1712adc4e878cda192be1a2')
+
+prepare() {
+ cd "$pkgbase-$pkgver"
+ sed -i -e 's/shell python /shell python2 /' Makefile
+ sed -i -e 's/-Werror/ /' Makefile
+ sed -i -e 's/^\(LIBDIR = \)lib64/\1lib/' Makefile
+}
+
+build() {
+ cd "$pkgbase-$pkgver"
+ make all
+}
+
+package_isomd5sum() {
+ depends=('popt')
+ pkgdesc="Utilities for working with md5sum implanted in ISO images"
+
+ cd "$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install-bin install-devel
+}
+
+package_python2-isomd5sum() {
+ depends=('python2')
+ pkgdesc="Python2 bindings for isomd5sum"
+
+ cd "$pkgbase-$pkgver"
+ make DESTDIR="${pkgdir}" install-python
+}
Copied: isomd5sum/repos/community-x86_64/PKGBUILD (from rev 119994, isomd5sum/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-10-02 02:02:35 UTC (rev 119995)
@@ -0,0 +1,45 @@
+# $Id$
+# 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' 'python2-isomd5sum')
+pkgver=1.0.12
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('GPL')
+makedepends=('popt' 'python2')
+url='https://git.fedorahosted.org/git/isomd5sum.git'
+source=("https://git.fedorahosted.org/cgit/isomd5sum.git/snapshot/isomd5sum-$pkgver.tar.xz")
+options=('!emptydirs')
+sha1sums=('db46d6f6f8b197dfc1712adc4e878cda192be1a2')
+
+prepare() {
+ cd "$pkgbase-$pkgver"
+ sed -i -e 's/shell python /shell python2 /' Makefile
+ sed -i -e 's/-Werror/ /' Makefile
+ sed -i -e 's/^\(LIBDIR = \)lib64/\1lib/' Makefile
+}
+
+build() {
+ cd "$pkgbase-$pkgver"
+ make all
+}
+
+package_isomd5sum() {
+ depends=('popt')
+ pkgdesc="Utilities for working with md5sum implanted in ISO images"
+
+ cd "$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install-bin install-devel
+}
+
+package_python2-isomd5sum() {
+ depends=('python2')
+ pkgdesc="Python2 bindings for isomd5sum"
+
+ cd "$pkgbase-$pkgver"
+ make DESTDIR="${pkgdir}" install-python
+}
More information about the arch-commits
mailing list