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

Felix Yan felixonmars at archlinux.org
Fri Jan 11 07:24:49 UTC 2019


    Date: Friday, January 11, 2019 @ 07:24:48
  Author: felixonmars
Revision: 422240

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: units/repos/community-staging-x86_64/PKGBUILD (from rev 422239, units/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-01-11 07:24:48 UTC (rev 422240)
@@ -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.18
+pkgrel=2
+pkgdesc="converts between different units"
+arch=('x86_64')
+url="http://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=('64959c231c280ceb4f3e6ae6a19b918247b6174833f7f1894704c444869c4678'
+            'SKIP')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  ./configure --prefix=/usr --datadir=/usr/share
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list