diff options
author | FabioLolix | 2022-06-02 17:02:59 +0200 |
---|---|---|
committer | FabioLolix | 2022-06-02 17:02:59 +0200 |
commit | 2e6c133313aacf9319a8ab4037d490dfb5a264c1 (patch) | |
tree | 9db8b43e53acae7dab71171ce4cf8ff1eab4e6b2 /PKGBUILD | |
parent | d30e308c18f0330a8412ec053e844cde2de615ad (diff) | |
download | aur-gamehub-epic-git.tar.gz |
revision
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -6,32 +6,34 @@ # Contributor: Helder Bertoldo <helder.bertoldo@gmail.com> pkgname=gamehub-epic-git -pkgver=0.16.1 +pkgver=r909.51431d7 pkgrel=1 +epoch=1 pkgdesc="Games manager, downloader, library that supports GOG, Steam, Epic, itch.io and Humble Bundle" arch=(i686 x86_64 armv6h armv7h aarch64) url="https://tkashkin.github.io/projects/gamehub/" license=(GPL3) depends=(gtk3 glib2 libgee libsoup json-glib sqlite webkit2gtk libmanette libxtst) -makedepends=(git meson ninja vala) +makedepends=(git meson ninja vala0.54) provides=(gamehub) -conflicts=(gamehub gamehub-git) +conflicts=(gamehub) options=(!strip debug) -source=("git+https://github.com/Lucki/GameHub.git#branch=epic") +source=("${pkgname%-git}::git+https://github.com/Lucki/GameHub.git#branch=epic") sha256sums=('SKIP') -prepare() { - cd "GameHub" +pkgver() { + cd "${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "GameHub" + cd "${pkgname%-git}" #CFLAGS="$CFLAGS -O0" meson . build --prefix=/usr -Ddistro=arch --buildtype=debug meson . build --prefix=/usr --buildtype=debug ninja -C build } package() { - cd "GameHub" + cd "${pkgname%-git}" DESTDIR="${pkgdir}" ninja -C build install } |