diff options
author | Caesim | 2018-02-11 11:06:15 +0200 |
---|---|---|
committer | Caesim | 2018-02-11 11:06:15 +0200 |
commit | 4df510f62ccb60f8e77fc597263e96c864331326 (patch) | |
tree | 238ec76125acc72821359b1cdf8879b5dd739a0a /PKGBUILD | |
download | aur-4df510f62ccb60f8e77fc597263e96c864331326.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f79b112eccad --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Caesim404 <caesim404 at gmail dot com> + +pkgname="yatqa" +_pkgver="3.9-rc1" +pkgver="${_pkgver/-/}" +pkgrel="1" +pkgdesc="Tool for managing TeamSpeak 3 servers and instances" +arch=("x86_64" "i686") +url="http://yat.qa/" +license=("custom") +depends=("wine") +makedepends=("p7zip" "icoutils") +install="yatqa.install" +source=("http://yat.qa/YaTQA-Setup_${_pkgver}.exe" + "yatqa" + "yatqa.desktop" + "yatqa.install" + "LICENSE") +sha256sums=('2e39ae48c80fbe3221e60de20a1d7920e24f93f5367851593650b7268163cb50' + '57fcd761e93b6f5d8bd6f4e354aafc9174ecdeea0fe39ea89dc68245b3c9ce02' + '98c8f8313858f9fd7a00f75001effcf298b8b1bc43e142ac3e361016f5be9c6f' + '45fe54d9f4655abb6774a01c961ee547507a92c2499645164f14ea5b1dc1a55a' + 'f2e3a5f026505316e61905695317531717e213b2d497132a351748efc861ce5f') + +build() { + cd "${srcdir}" + + 7z x -aos "YaTQA-Setup_${_pkgver}.exe" yatqa.exe yatqa.ini + + wrestool -x -t 14 -o yatqa.ico yatqa.exe + icotool -x -w 144 -o yatqa.png yatqa.ico +} + +package() { + cd "${srcdir}" + + install -Dm644 yatqa.exe "${pkgdir}/usr/share/yatqa/yatqa.exe" + install -Dm644 yatqa.ini "${pkgdir}/usr/share/yatqa/yatqa.ini" + + install -Dm755 yatqa "${pkgdir}/usr/bin/yatqa" + + install -Dm644 yatqa.desktop "${pkgdir}/usr/share/applications/yatqa.desktop" + install -Dm644 yatqa.png "${pkgdir}/usr/share/pixmaps/yatqa.png" + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/yatqa/LICENSE" +} |