Package Details: fortune-mod-zh-hant 2.98-1

Git Clone URL: https://aur.archlinux.org/fortune-mod-zh-hant.git (read-only, click to copy)
Package Base: fortune-mod-zh-hant
Description: Chinese poems for fortune-mod (traditional Chinese)
Upstream URL: https://salsa.debian.org/chinese-team/fortunes-zh
Licenses: GPL
Groups: fortune-mods
Submitter: kyrenaios
Maintainer: kyrenaios
Last Packager: kyrenaios
Votes: 0
Popularity: 0.000000
First Submitted: 2020-12-21 22:55 (UTC)
Last Updated: 2022-05-16 05:41 (UTC)

Latest Comments

geek-masa commented on 2022-05-20 13:56 (UTC)

Now this package is working now with version 2.98. It's my fault that the url is dead now. Thank you for quick fix!

geek-masa commented on 2022-05-15 03:14 (UTC)

Thank you for sharing cool package!

Unfortunately the source url returns 404 now. Here's a diff to make makepkg use DebianGeoMirror.

Would you mind merging this patch?

--- a/PKGBUILD  2022-05-15 11:59:27.206184700 +0900
+++ b/PKGBUILD  2022-05-15 11:59:27.206184700 +0900
@@ -4,7 +4,7 @@
 # Contributor: Rick W. Chen <stuffcorpse@archlinux.us>

 pkgname=fortune-mod-zh-hant
-pkgver=2.8
+pkgver=2.98
 pkgrel=1
 pkgdesc="Chinese poems for fortune-mod (traditional Chinese)"
 url="https://salsa.debian.org/chinese-team/fortunes-zh"
@@ -12,12 +12,12 @@
 depends=('fortune-mod')
 makedepends=('opencc')
 groups=('fortune-mods')
-source=(https://salsa.debian.org/chinese-team/fortunes-zh/-/archive/${pkgver}/fortunes-zh-${pkgver}.tar.gz)
-md5sums=('3fff0e8cb73285ce76febdbafc7dee4a')
+source=(https://deb.debian.org/debian/pool/main/f/fortune-zh/fortune-zh_${pkgver}.tar.xz)
+sha256sums=('2c7b99701ab9c8429bba56d81ea9cc4e9efda3541fc31e9cea5df99cfbca0a67')
 arch=('any')

 build() {
-  cd "${srcdir}/fortunes-zh-${pkgver}"
+  cd "${srcdir}/fortune-zh-${pkgver}"

   make || return 1

@@ -29,7 +29,7 @@
 }

 package(){
-  cd "${srcdir}/fortunes-zh-${pkgver}"
+  cd "${srcdir}/fortune-zh-${pkgver}"
   mkdir -p "${pkgdir}/usr/share/fortune"
   install -m0644 tang300 "${pkgdir}/usr/share/fortune/tang300-hant"
   install -m0644 tang300.dat "${pkgdir}/usr/share/fortune/tang300-hant.dat"