[arch-commits] Commit in units/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:54:59 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:54:59
  Author: felixonmars
Revision: 660114

archrelease: copy trunk to community-staging-x86_64

Added:
  units/repos/community-staging-x86_64/
  units/repos/community-staging-x86_64/PKGBUILD
    (from rev 660113, units/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: units/repos/community-staging-x86_64/PKGBUILD (from rev 660113, units/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 18:54:59 UTC (rev 660114)
@@ -0,0 +1,32 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jeff Mickey <jeff at archlinux.org>
+# Contributor: Steve Sansom <snsansom at gmail.com>
+
+pkgname=units
+pkgver=2.19
+pkgrel=2
+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=('4262136bdfc152b63ff5a9b93a7d80ce18b5e8bebdcffddc932dda769e306556'
+            '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
+}


More information about the arch-commits mailing list