summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-08-08 21:13:53 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-08-08 21:13:53 +0000
commit0eed2bedb6ead4a01de01fde7a94bba1560ea246 (patch)
tree0a11329e0287d002f6e3f39cc8e57392006e59d7 /user
parent0f3d0ee0a3737dfbfef398d14ea6e36df4d6fcca (diff)
parent4a77378f7f3ad4b37402950e7456eedc96ba3f3e (diff)
downloadpackages-0eed2bedb6ead4a01de01fde7a94bba1560ea246.tar.gz
packages-0eed2bedb6ead4a01de01fde7a94bba1560ea246.tar.bz2
packages-0eed2bedb6ead4a01de01fde7a94bba1560ea246.tar.xz
packages-0eed2bedb6ead4a01de01fde7a94bba1560ea246.zip
Merge branch 'testdisk' into 'master'
New port: testdisk See merge request adelie/packages!488
Diffstat (limited to 'user')
-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"