diff options
author | Mattia Borda | 2022-12-14 17:30:26 +0100 |
---|---|---|
committer | Mattia Borda | 2022-12-14 17:30:26 +0100 |
commit | d10f287e51e5f3d8b7cfe2a05d51ec242ede7048 (patch) | |
tree | af0d0f89f407381e69f40ff9421326de6cf45820 | |
download | aur-d10f287e51e5f3d8b7cfe2a05d51ec242ede7048.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | adwaita-for-steam.install | 10 |
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..44efccdfd92d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = adwaita-for-steam-git + pkgdesc = A skin to make Steam look more like a native GNOME app + pkgver = 0.21.r1.g4ad8301 + pkgrel = 1 + url = https://github.com/tkashkin/adwaita-for-steam + install = adwaita-for-steam.install + arch = any + license = MIT + makedepends = git + depends = steam + provides = adwaita-for-steam + conflicts = adwaita-for-steam + source = git+https://github.com/tkashkin/adwaita-for-steam + b2sums = SKIP + +pkgname = adwaita-for-steam-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4af9d1322723 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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/{}" \; +} diff --git a/adwaita-for-steam.install b/adwaita-for-steam.install new file mode 100644 index 000000000000..3136b8d70377 --- /dev/null +++ b/adwaita-for-steam.install @@ -0,0 +1,10 @@ +post_install() { + echo "" + echo "****Adwaita for Steam was installed!****" + echo "" + echo "You still have to make steam able to read the skin location in your system directory /usr/lib:" + echo "ln -s /usr/lib/steam/skins ~/.steam/steam/skins" + echo "" + echo "Now, select the skin in Steam Settings -> Interface." + echo "" +} |