summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: efcf5dd830c9e98aab97ef43b426185edfd73e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Andy Crowd <andy_crowd@ainsdata.se>
pkgname="genwipe.sh"
pkgver=1.0.0
pkgrel=1
pkgdesc="Show calculated dd and pv examples for destination."
arch=(any)
depends=(bash)
optdepends=('pv' 'openssl' 'e2fsprogs')
makedepends=('git')
source=("genwipe.sh::git+https://github.com/AndyCrowd/genwipe.sh.git")
license=('GPL3')
md5sums=('SKIP')
url="https://github.com/AndyCrowd/genwipe.sh"

package() {
  install -d "$pkgdir/usr/bin"
  install -d "$pkgdir/usr/share/licenses/$pkgname"
  install -d "$pkgdir/usr/share/doc/$pkgname"

  install -m755 "$srcdir/$pkgname/genwipe.sh" "$pkgdir/usr/bin"
  install -m644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
  install -m644 "$srcdir/$pkgname/README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
}