diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -1,24 +1,26 @@ -# Maintainer: bemxio <bemxiov@protonmail.com> +# Maintainer: bemxio <bemxiov at protonmail dot com> pkgname="osaka-simulator" pkgdesc="A fanmade interactive Osaka simulator from hirahira.net for PC" pkgver=Aug_2003 -pkgrel=1 +pkgrel=2 -arch=(i686 x86_64) +arch=(any) url="https://azumanga.fandom.com/wiki/Ayumu_Kasuga%27s_Mail_Order_Life" -license=("unknown") +license=("LicenseRef-unknown") depends=(wine winetricks) makedepends=(unzip gendesk icoutils) provides=(osaka-simulator) -source=("local://Osaka Simulator FINAL (standalone).zip" "osaka-simulator" "tsu_han.cfg") +source=("file://Osaka Simulator FINAL (standalone).zip" "osaka-simulator" "tsu_han.cfg") md5sums=("69c5e729bd4acc28320afbcc863b454a" "8af04a78b75b73656908f722d6cbce19" "7b644ee8fdf4d1b8213115bef3a1b90c") +DLAGENTS=("file::/usr/bin/echo Could not find %u. Please download it to `$(pwd)` in order to build the package.") + prepare() { # extract the icon out of the executable wrestool -x -n 128 "Osaka Simulator FINAL/tsu_han.exe" -o OsakaSimulator.ico @@ -40,20 +42,20 @@ package() { mkdir -p "${pkgdir}/opt/osaka-simulator" # copy the game's files - cp -r "${srcdir}/Osaka Simulator FINAL"/* "${pkgdir}/opt/osaka-simulator" + cp -r "Osaka Simulator FINAL"/* "${pkgdir}/opt/osaka-simulator" # delete the bundled-in save file and configuration file rm -f "${pkgdir}/opt/osaka-simulator/tsu_han.dat" rm -f "${pkgdir}/opt/osaka-simulator/tsu_han.cfg" # copy the package's configuration file - install -Dm644 "${srcdir}/tsu_han.cfg" "${pkgdir}/opt/osaka-simulator/tsu_han.cfg" + install -Dm644 tsu_han.cfg "${pkgdir}/opt/osaka-simulator/tsu_han.cfg" # set the ownership of the game's directory to root:games chown -R root:games "${pkgdir}/opt/osaka-simulator" # copy the executable script - install -Dm755 "${srcdir}/osaka-simulator" "${pkgdir}/usr/bin/osaka-simulator" + install -Dm755 osaka-simulator "${pkgdir}/usr/bin/osaka-simulator" # copy the extracted icon and the generated .desktop file install -Dm644 OsakaSimulator.png "${pkgdir}/usr/share/pixmaps/OsakaSimulator.png" |