Hello, It seems as though upstream arch has dropped the GNU units package, and arch32 is on the way to do so too. I've repackaged it from the PKGBUILD available on the AUR.
Attached to this email are the required files, tested with libremakepkg. -- Kind Regards, Wael Karram.
# Maintainer (AUR): tarball <[email protected]> # Contributor (AUR): Kyle Keen <[email protected]> # Contributor (AUR): Sergej Pupykin <[email protected]> # Contributor (AUR): Jeff Mickey <[email protected]> # Contributor (AUR): Steve Sansom <[email protected]> # Maintainer (Parabola): Wael Karram <[email protected]> # Parabola Changes and Rationale: # Add i686 and armv7h targets. pkgname=units pkgver=2.22 pkgrel=2 pkgdesc="converts between different units" arch=('x86_64') arch+=('i686' 'armv7h') url="https://www.gnu.org/software/units/units.html" depends=('readline') optdepends=('python-unidecode: for live currency rates' 'python-requests: for live currency rates') makedepends=('python-unidecode' 'python-requests') license=("GPL") options=('!makeflags') validpgpkeys=('9AD8FC4162D7937CF64F972E1889D5F0E0636F49') source=(https://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz{,.sig} 'units_currency.timer' 'units_currency.service') sha256sums=('5d13e1207721fe7726d906ba1d92dc0eddaa9fc26759ed22e3b8d1a793125848' 'SKIP' 'c1cb48a6157c850a0b7ecbf4387b82820d6e42f4a2c7ff0eb9de293bad6b128f' '52e8cd68110e797e3ee3737f06200505225039b18f3f9b87ae38b6c539c9ccb2') build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr --datadir=/usr/share --sharedstatedir=/var/lib # /usr/bin/pager seems to be a Debian-ism; it is not provided by any of the # packages shipped with Arch Linux. Replace it with less, which, according to # pkgstats, is shipped on 100% of Arch systems, and will make the 'help' # function work correctly on systems with an empty $PAGER env var. sed -i 's|DEFAULTPAGER "/usr/bin/pager"|DEFAULTPAGER "/usr/bin/less"|' units.c make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install rm "$pkgdir/usr/share/units/currency.units" ln -s /var/lib/units/currency.units "$pkgdir/usr/share/units/currency.units" install -Dm644 ../units_currency.timer "$pkgdir/usr/lib/systemd/system/units_currency.timer" install -Dm644 ../units_currency.service "$pkgdir/usr/lib/systemd/system/units_currency.service" }
[Unit] Description=Update units currency rates database After=network-online.target Wants=network-online.target [Service] Type=oneshot ExecStart=/usr/bin/units_cur
[Unit] Description=Daily units currency rates database update [Timer] OnCalendar=daily AccuracySec=12h Persistent=true [Install] WantedBy=timers.target
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
