summaryrefslogtreecommitdiff
path: root/user/testdisk/APKBUILD
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-08-08 21:13:53 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-08-08 21:13:53 +0000
commit4a77378f7f3ad4b37402950e7456eedc96ba3f3e (patch)
tree0b969a89a53bd2fd1820c773a1791624879baba7 /user/testdisk/APKBUILD
parentae695f83cb87859169d7ee1f4f0ed2a625972205 (diff)
downloadpackages-4a77378f7f3ad4b37402950e7456eedc96ba3f3e.tar.gz
packages-4a77378f7f3ad4b37402950e7456eedc96ba3f3e.tar.bz2
packages-4a77378f7f3ad4b37402950e7456eedc96ba3f3e.tar.xz
packages-4a77378f7f3ad4b37402950e7456eedc96ba3f3e.zip
user/testdisk: New package
Diffstat (limited to 'user/testdisk/APKBUILD')
-rw-r--r--user/testdisk/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/testdisk/APKBUILD b/user/testdisk/APKBUILD
new file mode 100644
index 000000000..8dfe19a0a
--- /dev/null
+++ b/user/testdisk/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: CyberLeo <cyberleo@cyberleo.net>
+# Maintainer: CyberLeo <cyberleo@cyberleo.net>
+pkgname=testdisk
+pkgver=7.1
+pkgrel=0
+pkgdesc="A data recovery suite"
+url="https://www.cgsecurity.org/wiki/TestDisk"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="e2fsprogs-dev ntfs-3g-dev ncurses-dev zlib-dev libjpeg-turbo-dev"
+subpackages="$pkgname-doc"
+source="https://www.cgsecurity.org/testdisk-$pkgver.tar.bz2"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ad6531eec45c1ed8d4a0ce6132692bb609c4c269fbca57f788ce808214e0b00b5fb1187745a859c5da8a3cb8de18b29904792d3246b15cedfa24bf24cbfe3df5 testdisk-7.1.tar.bz2"