aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fatback/APKBUILD
blob: 90f7b3ec3c8257b148d840400b959e9e8527df1a (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
30
31
32
33
34
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fatback
pkgver=1.3
pkgrel=0
pkgdesc="A tool for recovering files from FAT file systems"
url="http://fatback.sourceforge.net/"
arch="all"
license="GPL-2.0"
depends=""
makedepends="flex-dev"
install=""
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="4f1beb13670a7eff5b66cff84e5fd42a  fatback-1.3.tar.gz"
sha256sums="92fa7a8a8f3b2e9e5c51e8af55dd306bb97b29a78963f42d8c63e79070459410  fatback-1.3.tar.gz"
sha512sums="be76a40eb981e3d33730811e846fc4fce6c6e4a7833ef37076d14da62e0741490b566bc17a4268f0861e004088493eb3e0d36771f4c7aa9bf7e765e5a0a65d82  fatback-1.3.tar.gz"