[arch-commits] Commit in ext4magic/repos (4 files)
Sébastien Luttringer
seblu at archlinux.org
Thu Nov 3 11:50:35 UTC 2016
Date: Thursday, November 3, 2016 @ 11:50:34
Author: seblu
Revision: 194574
archrelease: copy trunk to community-i686, community-x86_64
Added:
ext4magic/repos/community-i686/PKGBUILD
(from rev 194573, ext4magic/trunk/PKGBUILD)
ext4magic/repos/community-x86_64/PKGBUILD
(from rev 194573, ext4magic/trunk/PKGBUILD)
Deleted:
ext4magic/repos/community-i686/PKGBUILD
ext4magic/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 82 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 26 -------------
community-x86_64/PKGBUILD | 26 -------------
3 files changed, 82 insertions(+), 52 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-11-03 11:50:13 UTC (rev 194573)
+++ community-i686/PKGBUILD 2016-11-03 11:50:34 UTC (rev 194574)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-
-pkgname=ext4magic
-pkgver=0.3.2
-pkgrel=1
-pkgdesc='Recover deleted or overwritten files on ext3 and ext4 filesystems'
-arch=('i686' 'x86_64')
-url='http://sourceforge.net/projects/ext4magic/'
-license=('GPL2')
-depends=('bzip2' 'file' 'util-linux' 'e2fsprogs')
-source=("$url/files/$pkgname-$pkgver.tar.gz")
-md5sums=('8351cb27598fb8ffa7d2175ab74e7a53')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sbindir=/usr/bin
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ext4magic/repos/community-i686/PKGBUILD (from rev 194573, ext4magic/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-11-03 11:50:34 UTC (rev 194574)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=ext4magic
+pkgver=0.3.2
+pkgrel=2
+pkgdesc='Recover deleted or overwritten files on ext3 and ext4 filesystems'
+arch=('i686' 'x86_64')
+url='https://sourceforge.net/projects/ext4magic/'
+license=('GPL2')
+depends=('bzip2' 'file' 'util-linux' 'e2fsprogs')
+source=("$url/files/$pkgname-$pkgver.tar.gz"
+ "$url/files/Patches/workaround.patch")
+md5sums=('8351cb27598fb8ffa7d2175ab74e7a53'
+ 'e96c1fff3b8d59f93a0557b0a8190167')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch ${filename##*/}"
+ patch -p1 -N -i "$srcdir/${filename##*/}"
+ fi
+ done
+ :
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-11-03 11:50:13 UTC (rev 194573)
+++ community-x86_64/PKGBUILD 2016-11-03 11:50:34 UTC (rev 194574)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-
-pkgname=ext4magic
-pkgver=0.3.2
-pkgrel=1
-pkgdesc='Recover deleted or overwritten files on ext3 and ext4 filesystems'
-arch=('i686' 'x86_64')
-url='http://sourceforge.net/projects/ext4magic/'
-license=('GPL2')
-depends=('bzip2' 'file' 'util-linux' 'e2fsprogs')
-source=("$url/files/$pkgname-$pkgver.tar.gz")
-md5sums=('8351cb27598fb8ffa7d2175ab74e7a53')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sbindir=/usr/bin
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ext4magic/repos/community-x86_64/PKGBUILD (from rev 194573, ext4magic/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-11-03 11:50:34 UTC (rev 194574)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=ext4magic
+pkgver=0.3.2
+pkgrel=2
+pkgdesc='Recover deleted or overwritten files on ext3 and ext4 filesystems'
+arch=('i686' 'x86_64')
+url='https://sourceforge.net/projects/ext4magic/'
+license=('GPL2')
+depends=('bzip2' 'file' 'util-linux' 'e2fsprogs')
+source=("$url/files/$pkgname-$pkgver.tar.gz"
+ "$url/files/Patches/workaround.patch")
+md5sums=('8351cb27598fb8ffa7d2175ab74e7a53'
+ 'e96c1fff3b8d59f93a0557b0a8190167')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch ${filename##*/}"
+ patch -p1 -N -i "$srcdir/${filename##*/}"
+ fi
+ done
+ :
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list