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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:54:42 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:54:42
  Author: felixonmars
Revision: 658636

archrelease: copy trunk to community-staging-any

Added:
  cowfortune/repos/community-staging-any/
  cowfortune/repos/community-staging-any/PKGBUILD
    (from rev 658635, cowfortune/trunk/PKGBUILD)

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

Copied: cowfortune/repos/community-staging-any/PKGBUILD (from rev 658635, cowfortune/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 13:54:42 UTC (rev 658636)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=cowfortune
+pkgver=0.1.2
+pkgrel=7
+pkgdesc='Configurable fortune cookie proclaiming cow (and a few other creatures)'
+url='https://github.com/anthraxx/cowfortune'
+arch=('any')
+license=('MIT')
+depends=('cowsay' 'fortune-mod')
+optdepends=('lolcat: rainbow coloring support')
+backup=('etc/cowfortune/config'
+        'etc/cowfortune/whitelist'
+        'etc/cowfortune/blacklist')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/anthraxx/cowfortune/archive/${pkgver}.tar.gz)
+sha512sums=('42ab237ab571bc758e678fc66d1c4eb9694807e5886ee23056ccd738805a31c1de2c07c35466e4cc6c8cf4d7fcdd94289ddf207e5de374ccd60e37161d72469b')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list