diff options
author | kyndair | 2023-01-19 23:07:53 +0000 |
---|---|---|
committer | kyndair | 2023-01-19 23:07:53 +0000 |
commit | b5dd872582a5253d9d6d82f1eb64d51ad6e4936b (patch) | |
tree | d077e194efa0bc1cbb7bf1a4267f8157a971936a | |
download | aur-gog-pillars_of_eternity_ii_deadfire_scalawag_pack_dlc.tar.gz |
initial upload
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bda3cf44548f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = gog-pillars_of_eternity_ii_deadfire_scalawag_pack_dlc + pkgdesc = DLC for the pillars of eternity ii deadfire game. + pkgver = 5.0.0.0040 + pkgrel = 1 + url = https://www.gog.com/en/game/pillars_of_eternity_ii_deadfire_scalawags_pack + arch = x86_64 + license = custom + depends = gog-pillars_of_eternity_ii_deadfire + source = pillars_of_eternity_ii_deadfire_scalawag_pack_v5_0_0_0040_29222.sh::gog://pillars_of_eternity_ii_deadfire_scalawag_pack_v5_0_0_0040_29222.sh + sha256sums = c2fe35cc60a89cce18ce19db41b3a7838e61b2fa67e386e0eec58fccdf324acd + +pkgname = gog-pillars_of_eternity_ii_deadfire_scalawag_pack_dlc diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9f20e8574212 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: kyndair <kyndair at gmail dot com> +# Place the gog installation file in the same folder as this PKGBUILD +pkgname=gog-pillars_of_eternity_ii_deadfire_scalawag_pack_dlc +_dlcparent=pillars_of_eternity_ii_deadfire +_pkgname=pillars_of_eternity_ii_deadfire_scalawag_pack +pkgver=5.0.0.0040 +_pkgver=v5_0_0_0040 +_build=29222 +pkgrel=1 +pkgdesc="DLC for the $(echo ${_dlcparent} | sed 's/_/ /g') game." +arch=('x86_64') +url="https://www.gog.com/en/game/pillars_of_eternity_ii_deadfire_scalawags_pack" +license=('custom') +depends=($(echo gog-${_dlcparent})) +source=("${_pkgname}_${_pkgver}_${_build}.sh::gog://${_pkgname}_${_pkgver}_${_build}.sh") +# don't download anything via makepkg +DLAGENTS+=("gog::/usr/bin/perl -E print\(\"${RED}\"\ .\ substr\(\"%u\",\ 6\)\ .\ \"\ not\ found.\ \ Check\ the\ PKGBUILD\ for\ further\ information.${ALL_OFF}\\\\n\"\)\;\ exit\ 1") +sha256sums=('c2fe35cc60a89cce18ce19db41b3a7838e61b2fa67e386e0eec58fccdf324acd') + +package() { + # install goggame files + find "${srcdir}/data/noarch/game/PillarsOfEternityII_Data" -type d -exec chmod 755 {} + + find "${srcdir}/data/noarch/game/PillarsOfEternityII_Data" -type f -exec chmod 644 {} + + mkdir -p "${pkgdir}/opt/${_dlcparent}" + mv "${srcdir}/data/noarch/game/PillarsOfEternityII_Data" "${pkgdir}/opt/${_dlcparent}" +} |