diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..995446685827 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = hangul-attack + pkgdesc = Game for practicing typing Hangul (Korean alphabet). + pkgver = 2.0 + pkgrel = 1 + url = https://gobillykorean.com/updated-free-hangul-typing-practice-game-new-version + arch = any + license = unknown + options = !strip + source = hangul-attack::https://gobillykorean.com/shop/File/get/?file=Hangul_Attack_Linux + source = hangul-attack.png::https://gobillykorean.com/wp-content/uploads/2015/12/top_sitebanner.png + sha256sums = 74d503380d910dd37cc67df754b7b1ed22caa58f96cc7f158c99451ca6141963 + sha256sums = 9912d75ae96e8f8fa380735ba90c6350dd60b8cbede36cc59e0abe95ba89f478 + +pkgname = hangul-attack + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9affff2870bf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Christoph Scholz <christoph.scholz@gmail.com> +pkgname=hangul-attack +pkgver=2.0 +pkgrel=1 +pkgdesc="Game for practicing typing Hangul (Korean alphabet)." +arch=('any') +url="https://gobillykorean.com/updated-free-hangul-typing-practice-game-new-version" +license=('unknown') +options=("!strip") +source=("${pkgname}::https://gobillykorean.com/shop/File/get/?file=Hangul_Attack_Linux" "${pkgname}.png::https://gobillykorean.com/wp-content/uploads/2015/12/top_sitebanner.png") +sha256sums=('74d503380d910dd37cc67df754b7b1ed22caa58f96cc7f158c99451ca6141963' '9912d75ae96e8f8fa380735ba90c6350dd60b8cbede36cc59e0abe95ba89f478') + +package() { + install -D -m755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -D -m644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + mkdir -p -m755 "${pkgdir}/usr/share/applications/" + printf "[Desktop Entry] +Version=${pkgver} +Type=Application +Name=Hangul Attack +Comment=${pkgdesc} +Exec=${pkgname} +Icon=${pkgname} +Categories=Game +Terminal=false +StartupNotify=true +" >> "${pkgdir}/usr/share/applications/${pkgname}.desktop" +} |