summaryrefslogtreecommitdiff
path: root/community/partclone/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/partclone/PKGBUILD')
-rw-r--r--community/partclone/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/partclone/PKGBUILD b/community/partclone/PKGBUILD
new file mode 100644
index 000000000..f8fee5daa
--- /dev/null
+++ b/community/partclone/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 76351 2012-09-16 13:33:43Z jsteel $
+# Maintainer: Jonathan Steel <mail at jsteel dot org>
+# Contrinutor: Dan Serban
+# Contributor: Franz Burgmann
+# Contributor: Todd Partridge (Gen2ly)
+# Contributor: Ivan Sichmann Freitas
+
+pkgname=partclone
+pkgver=0.2.48
+pkgrel=4
+pkgdesc="Back up and restore used-blocks of a partition"
+arch=('i686' 'x86_64')
+url="http://partclone.org"
+license=('GPL')
+depends=('progsreiserfs' 'ntfs-3g')
+source=(https://downloads.sourceforge.net/project/$pkgname/stable/$pkgver/${pkgname}_$pkgver.tar.gz)
+md5sums=('c873588f26185d6ce8db7b4c5470aa00')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr --enable-extfs --enable-reiserfs --enable-fat \
+ --enable-hfsp --enable-btrfs --enable-ncursesw --enable-ntfs
+
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+}
+