summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/zerofree/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/zerofree/PKGBUILD b/pcr/zerofree/PKGBUILD
new file mode 100644
index 000000000..d5d7e1487
--- /dev/null
+++ b/pcr/zerofree/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Christian Hesse <mail@eworm.de>
+# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
+
+# parabola changes and rationale:
+# no changes.
+
+pkgname=zerofree
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='Scans for non-zero free blocks in an ext2 filesystem and fills them with zeroes'
+arch=('i686' 'x86_64' 'armv7h')
+url='https://frippery.org/uml/'
+license=('GPL')
+depends=('e2fsprogs')
+source=("https://frippery.org/uml/${pkgname}-${pkgver}.tgz")
+sha256sums=('ee77aa1cf9dd9a8fb15c7e616f10f53d63c3112d4876221937b2875c7a122f15')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -D -m0755 zerofree ${pkgdir}/usr/bin/zerofree
+ install -D -m0755 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+}