aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pdfcrack/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-09-29 14:00:36 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-09-29 14:00:43 +0000
commit5febf2309f19a669bf7d36757b2fdeba98075acb (patch)
tree5fdfac3639032cc7b66ec94544258643d37ca2a6 /testing/pdfcrack/APKBUILD
parent09332d6ed701fc8ba9ac4bcf456efafa074c9e51 (diff)
downloadaports-5febf2309f19a669bf7d36757b2fdeba98075acb.tar.bz2
aports-5febf2309f19a669bf7d36757b2fdeba98075acb.tar.xz
testing/pdfcrack: new aport
Diffstat (limited to 'testing/pdfcrack/APKBUILD')
-rw-r--r--testing/pdfcrack/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/pdfcrack/APKBUILD b/testing/pdfcrack/APKBUILD
new file mode 100644
index 0000000000..928e73b27d
--- /dev/null
+++ b/testing/pdfcrack/APKBUILD
@@ -0,0 +1,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"