Date: Friday, November 20, 2020 @ 19:13:39 Author: kkeen Revision: 758052
archrelease: copy trunk to community-x86_64 Added: units/repos/community-x86_64/PKGBUILD (from rev 758051, units/trunk/PKGBUILD) Deleted: units/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-20 19:13:07 UTC (rev 758051) +++ PKGBUILD 2020-11-20 19:13:39 UTC (rev 758052) @@ -1,32 +0,0 @@ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: Jeff Mickey <j...@archlinux.org> -# Contributor: Steve Sansom <snsan...@gmail.com> - -pkgname=units -pkgver=2.20 -pkgrel=1 -pkgdesc="converts between different units" -arch=('x86_64') -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}) -sha256sums=('c5e298c87516711f3bedb9315583bad0965c5d3d0bb587f9837a9af12a50fadc' - 'SKIP') - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr --datadir=/usr/share --sharedstatedir=/var/lib - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install -} Copied: units/repos/community-x86_64/PKGBUILD (from rev 758051, units/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-20 19:13:39 UTC (rev 758052) @@ -0,0 +1,32 @@ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Jeff Mickey <j...@archlinux.org> +# Contributor: Steve Sansom <snsan...@gmail.com> + +pkgname=units +pkgver=2.21 +pkgrel=1 +pkgdesc="converts between different units" +arch=('x86_64') +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}) +sha256sums=('6c3e80a9f980589fd962a5852a2674642257db1c5fd5b27c4d9e664f3486cbaf' + 'SKIP') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --datadir=/usr/share --sharedstatedir=/var/lib + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +}