Skip to content

Commit

Permalink
Update workflows CI and PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
VHSgunzo committed Oct 2, 2022
1 parent 786754d commit 5510d3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build archlinux package
uses: countstarlight/arch-makepkg-action@master
with:
Expand Down
6 changes: 3 additions & 3 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ optdepends=('lib32-vulkan-radeon' 'vulkan-radeon' 'xf86-video-amdgpu'
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/VHSgunzo/lutris-wine.git')
source=("${pkgname}::git+https://github.com/VHSgunzo/lutris-wine.git")
sha256sums=('SKIP')

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

package() {
cd $srcdir/${pkgname%-git}
cd $srcdir/${pkgname}
make DESTDIR="${pkgdir}" install
}

0 comments on commit 5510d3e

Please sign in to comment.