summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4af9d132272397f5f1974fbd65d11e62ce5ec521 (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: Mattia Borda <mattiagiovanni.borda@icloud.com>

pkgname=adwaita-for-steam-git
pkgver=0.21.r1.g4ad8301
pkgrel=1
pkgdesc='A skin to make Steam look more like a native GNOME app'
arch=('any')
url="https://github.com/tkashkin/${pkgname%-git}"
license=('MIT')
depends=('steam')
makedepends=('git')
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
source=("git+$url")
b2sums=('SKIP')
install=adwaita-for-steam.install

pkgver()
{
  cd ${pkgname%-git}
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package()
{
  cd ${pkgname%-git}
  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/${pkgname%-git}
  find Adwaita -type f -exec install -Dm644 "{}" "$pkgdir/usr/lib/steam/skins/{}" \;
}