diff options
author | Baptiste Careil | 2020-06-20 12:19:53 +0200 |
---|---|---|
committer | Baptiste Careil | 2020-06-20 12:21:45 +0200 |
commit | 1bafee9e514848e1007bdb7ca9f23f721121c96e (patch) | |
tree | 8e328d295fe854bcf30e087a22e0194064281846 /PKGBUILD | |
parent | e6ff9576f2c7c7344e715c811f27205fb57bd89a (diff) | |
download | aur-1bafee9e514848e1007bdb7ca9f23f721121c96e.tar.gz |
Added logo and desktop entry
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -1,12 +1,12 @@ # Maintainer: bcareil <baptiste.careil@gmail.com> pkgname='path-of-building-community-git' -pkgrel=1 +pkgrel=2 pkgdesc="An offline build planner for Path of Exile using PoBFrontent, LocalIdentity's fork" arch=('x86_64') url='https://github.com/PathOfBuildingCommunity/PathOfBuilding' license=('MIT') -pkgver=1.4.159.1.r1187.37.479 +pkgver=1.4.169.3.r1701.37.479 depends=('zlib' 'qt5-base' 'luajit' 'libgl' 'curl') makedepends=('meson' 'ninja' 'unzip' 'rsync') @@ -20,6 +20,9 @@ source=( 'lzip-linux.patch' 'PathOfBuilding-force-disable-devmode.patch' 'pobfrontend.patch' + 'PathOfBuilding-logo.svg' + 'PathOfBuilding-logo.png' + 'PathOfBuildingCommunity.desktop' ) sha256sums=( 'SKIP' @@ -30,6 +33,9 @@ sha256sums=( '9dbc8802b74ceed78f1a6ba1d5b90251f5ae7f9a8cf5497426e4a35001112fcd' '4b37acb9f25f6841726d6b73e6b893d1376c858e879dd6daf35a1bbae8bc2faf' '87cbc36ace84ebd746a5b8ec5a88ffde5b03cea7c633a4d437d46b5434ae86da' + '2467d10c7b5e201e337ba334a829e293a07027251bcda2b1f39774a62e8ff194' + 'a64198061f60168ec07df33c37948e343eced7eeafe574cc20bdcf3a1d480cbc' + '431554f5c929156d2e351a80898acc60a827a7fe906230ce828c72e90fbf8a38' ) noextract=( 'PathOfBuilding-runtime-src.zip' @@ -84,7 +90,7 @@ package() { cd "$dst_dir" # extract skill tree assets for f in tree*.zip; do - unzip -u "$f" + unzip -ou "$f" rm "$f" done # extract lua libs @@ -100,6 +106,10 @@ package() { install -s -m755 "${srcdir}/pobfrontend/build/pobfrontend" -t "${dst_dir}" # install shell script install -D -m755 "${srcdir}/PathOfBuilding.sh" "${pkgdir}/usr/bin/PathOfBuildingCommunity" + # install desktop file and icons + install -D -m644 "${srcdir}/PathOfBuildingCommunity.desktop" "${pkgdir}/usr/share/applications/PathOfBuildingCommunity.desktop" + install -D -m644 "${srcdir}/PathOfBuilding-logo.svg" "${pkgdir}/usr/share/pixmaps/PathOfBuildingCommunity.svg" + install -D -m644 "${srcdir}/PathOfBuilding-logo.png" "${pkgdir}/usr/share/pixmaps/PathOfBuildingCommunity.png" # licenses install -D -m644 "${srcdir}/Lua-cURLv3/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/Lua-cURLv3-LICENSE" install -D -m644 "${srcdir}/pobfrontend/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/pobfrontend-LICENSE" |