summaryrefslogtreecommitdiff
path: root/pcr/zerofree/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-20 14:13:30 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-20 14:13:30 +0100
commitdb201b39f01c08092accb8191ef624911523328d (patch)
tree6ebeae859c73aa7cb37d00b6dec387fee556d7e2 /pcr/zerofree/PKGBUILD
parentaa5a1b49d9f7eda4b864d12e90c2cf49fda43f35 (diff)
downloadabslibre-db201b39f01c08092accb8191ef624911523328d.tar.gz
abslibre-db201b39f01c08092accb8191ef624911523328d.tar.bz2
abslibre-db201b39f01c08092accb8191ef624911523328d.zip
pcr/zerofree: added
Diffstat (limited to 'pcr/zerofree/PKGBUILD')
-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
+}