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

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


    Date: Tuesday, July 7, 2020 @ 12:54:18
  Author: felixonmars
Revision: 658276

archrelease: copy trunk to community-staging-x86_64

Added:
  findnewest/repos/community-staging-x86_64/
  findnewest/repos/community-staging-x86_64/PKGBUILD
    (from rev 658275, findnewest/trunk/PKGBUILD)

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

Copied: findnewest/repos/community-staging-x86_64/PKGBUILD (from rev 658275, findnewest/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:54:18 UTC (rev 658276)
@@ -0,0 +1,31 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=findnewest
+pkgver=0.3
+pkgrel=3
+pkgdesc='Recursively find newest file in a hierarchy and print its timestamp'
+url='https://github.com/0-wiz-0/findnewest'
+arch=('x86_64')
+license=('BSD')
+depends=('glibc')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/0-wiz-0/findnewest/archive/findnewest-${pkgver}.tar.gz)
+sha512sums=('57a1dabe02ba6fe7fa89381fe2beba6c0ee7b7cbdf01898f155e3876f12ffabaa7b1e04356b0aa4edb72c9950f24b37fe259e9b93451f1e234e87ef5bc67ec3c')
+
+prepare() {
+  cd ${pkgname}-${pkgname}-${pkgver}
+  autoreconf -fiv
+}
+
+build() {
+  cd ${pkgname}-${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list