Package Details: hru 1.1-0

Git Clone URL: https://aur.archlinux.org/hru.git (read-only, click to copy)
Package Base: hru
Description: Filter that translates latin or cyrillic text into grunt
Upstream URL: https://git.sr.ht/~begs/hru
Keywords: grunt hru joke
Licenses: custom:WTFPL
Submitter: nevadimov
Maintainer: nevadimov
Last Packager: nevadimov
Votes: 1
Popularity: 0.006582
First Submitted: 2021-12-10 18:55 (UTC)
Last Updated: 2021-12-12 16:04 (UTC)

Latest Comments

lmartinez-mirror commented on 2021-12-10 20:01 (UTC)

Package does not build in a chroot. I've written up a patch to fix it:

diff --git a/PKGBUILD b/PKGBUILD
index c7fc3fe..253bbcd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,25 @@
+# Maintainer: nevadimov
+# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
+
 pkgname=hru
-pkgver="1.0"
-pkgrel=0
+pkgver=1.0
+pkgrel=1
 pkgdesc="Filter that translates latin or cyrillic text into grunt"
-arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
+arch=('x86_64')
 url="https://git.sr.ht/~begs/hru"
-depends=(
-   'libutf8proc'
-   'scdoc'
-)
-source=("${pkgname}-${pkgver}.tar.gz::https://git.sr.ht/~begs/hru/archive/$pkgver.tar.gz")
-sha512sums=('17bb8de165beec75713a53b8f0a159ab0bd07e4f40184b6439c5016c4c31773a7785c2faedb432a2aa40f3117a014924af75897ec86d43df790f222be502bfbf')
+license=('custom:WTFPL')
+depends=('glibc' 'libutf8proc')
+makedepends=('scdoc')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha256sums=('8f2da7447ea23950e151cbd71eefc1f112d1a06acd017d485acbde937b916fea')
+
 build() {
-   cd "$srcdir/$pkgname-$pkgver"
-   make build
+   cd "$pkgname-$pkgver"
+   make build DEPS=libutf8proc
 }

 package() {
-   cd "$srcdir/$pkgname-$pkgver"
-   make install
+   cd "$pkgname-$pkgver"
+   make install PREFIX=/usr DESTDIR="$pkgdir/" DEPS=libutf8proc
+   install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
 }