summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4c15654ff4e11f2d6478d60a3d4a49a6fadc4bbb (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
# Maintainer: Arne BrĂ¼cher <archlinux [at] arne-bruecher [dot] de>

pkgname=project-black-pearl-bin
_realname=project-black-pearl
pkgver=0.3.0
pkgrel=2
pkgdesc='Free and open-source tool for managing game sources using community-made modules.'
arch=('x86_64')
url='https://github.com/ProjectBlackPearl/project_black_pearl'
license=('BSD')
depends=('libayatana-appindicator' 'webkit2gtk-4.1' 'gtk3' 'openssl-1.1')
makedepends=('binutils' 'tar')
provides=('project-black-pearl')
conflicts=('project-black-pearl')
source=("$url/releases/download/pbp-stable-v$pkgver/"$_realname"_"$pkgver"_amd64.deb")
sha256sums=('412123582fb25cc42c4331619a63379a6abc00d5e1344f2f84ae820938462acd')

prepare () {
	ar x "$_realname"_"$pkgver"_amd64.deb
	tar xvf data.tar.gz
}

package () {
   install -Dv "$srcdir/usr/bin/$_realname" "$pkgdir/usr/bin/$_realname"
   install -Dv "$srcdir/usr/share/applications/$_realname.desktop" "$pkgdir/usr/share/applications/$_realname.desktop"
   install -Dv "$srcdir/usr/share/icons/hicolor/32x32/apps/$_realname.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/$_realname.png"
   install -Dv "$srcdir/usr/share/icons/hicolor/128x128/apps/$_realname.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/$_realname.png"
   install -Dv "$srcdir/usr/share/icons/hicolor/256x256@2/apps/$_realname.png" "$pkgdir/usr/share/icons/hicolor/256x256@2/apps/$_realname.png"

}