summaryrefslogtreecommitdiff
path: root/pcr/zerofree/PKGBUILD
blob: d5d7e1487276ce1334c8c54eec88eac0525df8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
}