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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:15:36 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:15:36
  Author: felixonmars
Revision: 659188

archrelease: copy trunk to community-staging-x86_64

Added:
  nyancat/repos/community-staging-x86_64/
  nyancat/repos/community-staging-x86_64/PKGBUILD
    (from rev 659187, nyancat/trunk/PKGBUILD)

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

Copied: nyancat/repos/community-staging-x86_64/PKGBUILD (from rev 659187, nyancat/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:15:36 UTC (rev 659188)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+
+pkgname=nyancat
+pkgver=1.5.2
+pkgrel=2
+pkgdesc="Nyancat rendered in your terminal."
+arch=('x86_64')
+url=https://nyancat.dakko.us/
+license=('custom:NCSA')
+depends=('glibc')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/klange/$pkgname/archive/$pkgver.tar.gz")
+sha512sums=('8eee5da8afacdbe8b6b5f66686c101d42da26ef6c172e6b43b6042e1bacf7dfb5668e006cbbe675aca523b567eea57404af5b5bb6d654d137951e06c9a75463a')
+
+build() {
+  make -C $pkgname-$pkgver
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm755 src/$pkgname "$pkgdir"/usr/bin/$pkgname
+  install -Dm644 $pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1
+
+  install -d "$pkgdir/usr/lib/systemd/system"
+  install -m644 systemd/* "$pkgdir/usr/lib/systemd/system"
+}



More information about the arch-commits mailing list