summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8874a9a463ef7c143e016e2c7833e39da60fe1c (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
35
36
# Maintainer: Hartmut Seichter <hartmut@technotecture.com>

pkgname=hfsprescue
pkgver=3.6
pkgdesc="hfsprescue is a program to recover files from a HFS+ formatted partition"
pkgrel=1
arch=('x86_64')
provides=(${pkgname})
conflicts=('hfsprescue-bin')
url="https://www.plop.at/en/hfsprescue/index.html"
license=('GPL2')
makedepends=()
depends=(glibc)
source=("https://download.plop.at/${pkgname}/${pkgname}-${pkgver}.tar.gz")

sha256sums=('75283ef3cd22193a9b7654262f128a30fe0c9006a90986a13cfe8b017026dfad')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm755 "src/${pkgname}"  "${pkgdir}/usr/bin/${pkgname}"
	install -Dm644 "man/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"
  install -Dm644 "doc/de/${pkgname}.html" "${pkgdir}/usr/share/doc/${pkgname}/de/${pkgname}.html"
  install -Dm644 "doc/de/${pkgname}.pdf"  "${pkgdir}/usr/share/doc/${pkgname}/de/${pkgname}.pdf"
  install -Dm644 "doc/de/${pkgname}.txt"  "${pkgdir}/usr/share/doc/${pkgname}/de/${pkgname}.txt"
  install -Dm644 "doc/en/${pkgname}.html" "${pkgdir}/usr/share/doc/${pkgname}/en/${pkgname}.html"
  install -Dm644 "doc/en/${pkgname}.pdf"  "${pkgdir}/usr/share/doc/${pkgname}/en/${pkgname}.pdf"
  install -Dm644 "doc/en/${pkgname}.txt"  "${pkgdir}/usr/share/doc/${pkgname}/en/${pkgname}.txt"
}