summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1046ea50005ded552e1aa9b6d23642ce5e57f3a8 (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
# Maintainer: Connor McFarlane <cm at semtex dot net>

pkgname=gcfscape
pkgver=1.8.6
pkgrel=2
pkgdesc='An explorer for Half-Life file packages (bsp, gcf, vpk, wad, pak, etc)'
arch=('any')
url='https://nemstools.github.io/pages/GCFScape-Download.html'
license=('custom')
depends=('wine')
source=('http://nemstools.github.io/files/gcfscape186.zip'
        "${pkgname}.sh"
        "${pkgname}.png"
        "${pkgname}.desktop")
sha256sums=('5b61408a83b61afc9c775534cf02749edfde8e570bf17604bc191f6dc57055b0'
            'd557d4399cb3408394b3beb36080c3e3bc0c0ab5f1115ad60c3bca680d391cee'
            '42c09b6faf39e47abfa8a12eff248962c1075c7c674d303afb5207cbc44d8bc5'
            '27e63fefe7b6a4ba32f64b7f9cd92c307c052c43450babd87ab0d79ecf89d51f')

package() {
  install -Dd "$pkgdir/usr/share/${pkgname}"
  cp -r "$srcdir/x64" "$pkgdir/usr/share/${pkgname}"

  install -D "$srcdir/Readme.txt" "$pkgdir/usr/share/${pkgname}"

  install -Dm0644 "$srcdir/${pkgname}.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop"
  install -Dm0644 "$srcdir/${pkgname}.png" "$pkgdir/usr/share/${pkgname}"
  install -Dm0755 "$srcdir/${pkgname}.sh" "$pkgdir/usr/bin/${pkgname}"
}