-
Notifications
You must be signed in to change notification settings - Fork 2
/
PKGBUILD
executable file
·25 lines (22 loc) · 921 Bytes
/
PKGBUILD
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
# Maintainer: Artur 'h0m3' Paiva <[email protected]>
pkgname="protonlaunch"
pkgver="0.9"
pkgrel=1
pkgdesc="A small piece of script to launch Proton directly from the CLI, similar to Wine"
arch=('any')
url="https://github.com/h0m3/protonlaunch"
license=('BSD')
depends=("steam")
optdepends=("steam-native-runtime")
source=("$pkgname::git+https://github.com/h0m3/$pkgname.git#branch=main")
sha256sums=('SKIP')
package() {
mkdir -pv "$pkgdir/usr/bin"
mkdir -pv "$pkgdir/usr/share/licenses/$pkgname/"
mkdir -pv "$pkgdir/usr/share/doc/$pkgname/"
mv -v "$srcdir/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
mv -v "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
mv -v "$srcdir/$pkgname/README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
mv -v "$srcdir/$pkgname/screenshot.png" "$pkgdir/usr/share/doc/$pkgname/screenshot.png"
chmod +x "$pkgdir/usr/bin/$pkgname"
}