-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
poison
committed
Oct 21, 2018
1 parent
ddfdd07
commit e39592a
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |