Skip to content

Commit

Permalink
pkgbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
poison committed Oct 21, 2018
1 parent ddfdd07 commit e39592a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions arch/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
# Maintainer: poison <rc dot poison at gmail dot com>
# Maintainer: rc.poison <rc dot poison at gmail dot com>

_pkgname=dxvk-cache-pool
pkgname=("dxvk-cache-server-git" "dxvk-cache-client-git")
pkgbase=dxvk-cache-pool
pkgname=("dxvk-cache-client-git" "dxvk-cache-server-git")
pkgver=r149.0291c01
pkgrel=1
pkgdesc='Client/server to share DXVK pipeline caches.'
pkgdesc='Client/server to share DXVK pipeline caches for smoother wine gaming.'
arch=('any')
url='https://github.com/rcpoison/dxvk-cache-pool'
license=('Apache')
license=('Apache 2')
depends=('java-runtime>=8')
makedepends=('git' 'maven' 'java-environment>=8')
source=('git+https://github.com/rcpoison/dxvk-cache-pool.git')
sha1sums=('SKIP')

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


build() {
cd "$_pkgname"
cd "$pkgbase"
./build.sh
}

package_dxvk-cache-server-git() {
cd "$_pkgname"
cd "$pkgbase"
install -Dm755 dxvk-cache-server -t "$pkgdir"/usr/bin
install -Dm644 dxvk-cache-server.service -t "$pkgdir"/usr/lib/systemd/system/
}

package_dxvk-cache-client-git() {
cd "$_pkgname"
cd "$pkgbase"
install -Dm755 dxvk-cache-client -t "$pkgdir"/usr/bin
install -Dm755 dxvk-cache-pool.sh -t "$pkgdir"/etc/profile.d
}

0 comments on commit e39592a

Please sign in to comment.