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

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 23:17:56 UTC 2018


    Date: Friday, November 9, 2018 @ 23:17:56
  Author: foutrelis
Revision: 405235

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: findnewest/repos/community-staging-x86_64/PKGBUILD (from rev 405234, findnewest/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 23:17:56 UTC (rev 405235)
@@ -0,0 +1,31 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=findnewest
+pkgver=0.3
+pkgrel=2
+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