summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8f6b3864c869d4c2675cb7f1cfd2b9f4bb6bc248 (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: Dor Askayo <dor.askayo@gmail.com>

pkgname=steamrun
pkgver=0.3.0
pkgrel=1
pkgdesc='A simple script for executing programs in the Steam Runtime'
arch=(i686 x86_64)
url='https://github.com/doraskayo/steamrun'
license=('MIT')
depends=(gcc-libs
         libxcb
         libgpg-error
         steam)
source=("https://github.com/doraskayo/steamrun/archive/${pkgver}.tar.gz")
sha256sums=('33b7264485b2f65893f0d98c39fa5cc6cd9b50c1d28d5f00b4a1b4468ca3acc9')

package() {
    cd "$srcdir/steamrun-$pkgver"

    # Install the script
    install -D "$pkgname" "$pkgdir/usr/bin/$pkgname"

    # Install bash completion
    install -Dm644 "completions/$pkgname"                           \
        "$pkgdir/usr/share/bash-completion/completions/$pkgname"

    # Install the license
    install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}