diff options
author | kleintux | 2022-07-30 23:34:51 +0200 |
---|---|---|
committer | kleintux | 2022-07-30 23:34:51 +0200 |
commit | c11619100aa8c19312b92d45c5d8601491acbf63 (patch) | |
tree | 04b80ad5f04896497c6025e6f5b60531bfc9a0b3 | |
parent | d7eb8e4758b27c5dd201472fe1855b6aebe7a317 (diff) | |
download | aur-c11619100aa8c19312b92d45c5d8601491acbf63.tar.gz |
adopted and fixed
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 19 insertions, 15 deletions
@@ -1,15 +1,14 @@ pkgbase = hodie pkgdesc = Prints the date in Latin. pkgver = 1.4 - pkgrel = 1 - url = http://hodie.sourceforge.net + pkgrel = 2 + url = https://hodie.sourceforge.net arch = i686 arch = x86_64 license = custom - source = http://downloads.sourceforge.net/hodie/hodie-1.4.tar.gz + source = https://downloads.sourceforge.net/hodie/hodie-1.4.tar.gz source = Makefile.diff - md5sums = fd3f23135fd74e17516aa0c08757edd9 - md5sums = c65fae177943033f068cdeca16f7bd49 + sha256sums = ef553078f457f65068712a8ac5cf9361431f227546c30ea9396cd12c83dc4266 + sha256sums = 9626b332d17127339fbba032f4a6356bd6e3a5fe70e8f8111bbc1046ad622b71 pkgname = hodie - @@ -1,20 +1,25 @@ -# $Id:$ -# Maintainer: Abhishek Dasgupta <abhidg@gmail.com> +# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch> +# Contributor: Abhishek Dasgupta <abhidg@gmail.com> pkgname=hodie pkgver=1.4 -pkgrel=1 +pkgrel=2 pkgdesc="Prints the date in Latin." -url="http://hodie.sourceforge.net" -arch=(i686 x86_64) +url="https://hodie.sourceforge.net" +arch=('i686' 'x86_64') license=('custom') -source=(http://downloads.sourceforge.net/hodie/$pkgname-$pkgver.tar.gz +source=(https://downloads.sourceforge.net/hodie/${pkgname}-${pkgver}.tar.gz Makefile.diff) +sha256sums=('ef553078f457f65068712a8ac5cf9361431f227546c30ea9396cd12c83dc4266' + '9626b332d17127339fbba032f4a6356bd6e3a5fe70e8f8111bbc1046ad622b71') + build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${pkgname}-${pkgver}" patch -p0 -i ../Makefile.diff || return 1 make || return 1 +} + +package() { + cd "${pkgname}-${pkgver}" make DESTDIR="$pkgdir" install } -md5sums=('fd3f23135fd74e17516aa0c08757edd9' - 'c65fae177943033f068cdeca16f7bd49') |