[arch-commits] Commit in time/repos (community-x86_64 community-x86_64/PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Dec 20 14:48:28 UTC 2020


    Date: Sunday, December 20, 2020 @ 14:48:28
  Author: jelle
Revision: 780434

archrelease: copy trunk to community-x86_64

Added:
  time/repos/community-x86_64/
  time/repos/community-x86_64/PKGBUILD
    (from rev 780433, time/trunk/PKGBUILD)

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

Copied: time/repos/community-x86_64/PKGBUILD (from rev 780433, time/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-12-20 14:48:28 UTC (rev 780434)
@@ -0,0 +1,41 @@
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=time
+pkgver=1.9
+pkgrel=3
+pkgdesc="Utility for monitoring a program's use of system resources"
+arch=('x86_64')
+url='https://www.gnu.org/software/time/'
+license=('GPL')
+depends=('glibc')
+makedepends=('git')
+source=(https://git.savannah.gnu.org/cgit/time.git/snapshot/time-$pkgver.tar.gz
+        git://git.savannah.gnu.org/gnulib.git#commit=9462eb64fbf6646e9109b003a6768538d2b7dad4)
+sha1sums=('724d5857f555261c847d80f2783ca41891879c86'
+          'SKIP')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  ./bootstrap --no-git --gnulib-srcdir="$srcdir/gnulib"
+} 
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/usr --infodir=/usr/share/info
+  make
+}
+
+check() {
+  make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make exec_prefix="$pkgdir/usr" infodir="$pkgdir/usr/share/info" install
+}



More information about the arch-commits mailing list