aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pdfcrack/APKBUILD
blob: 928e73b27de6a3e66ca81db9136237e46f75dc6e (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=pdfcrack
pkgver=0.15
pkgrel=0
pkgdesc="Command line, password recovery tool for PDF-files."
url="http://pdfcrack.sourceforge.net/"
arch="all"
license="GPL2"
source="$pkgname-$pkgver.tar.gz::https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz/download"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
}

md5sums="5a67a63b980a4b022a983e4f44168781  pdfcrack-0.15.tar.gz"
sha256sums="791043693f9fc261fa326dbcb5e4de3801d6ae552dbea39293f9b2674c250d3e  pdfcrack-0.15.tar.gz"
sha512sums="9eef648fcb8c9cd4fb70af3ad4ce1b8da892edc98919104bbee70947d7f93262f44cb6e8854ff10b0e4680fcf0c3abfc258d0d14428d261744ed4b28c792a966  pdfcrack-0.15.tar.gz"