Date: Wednesday, December 13, 2017 @ 00:48:18
  Author: felixonmars
Revision: 274043

archrelease: copy trunk to community-x86_64

Added:
  catimg/repos/community-x86_64/
  catimg/repos/community-x86_64/PKGBUILD
    (from rev 274042, catimg/trunk/PKGBUILD)

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

Copied: catimg/repos/community-x86_64/PKGBUILD (from rev 274042, 
catimg/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2017-12-13 00:48:18 UTC (rev 274043)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: sqlwwx <[email protected]>
+# Contributors: Eduardo San Martin Morote http://posva.net/
+
+pkgname=catimg
+pkgver=2.2
+pkgrel=1
+pkgdesc="Print images in a terminal with 256 colors support"
+arch=('x86_64')
+url="https://github.com/posva/catimg";
+license=('MIT')
+depends=('glibc')
+makedepends=('cmake')
+source=("$url/archive/$pkgver.tar.gz#/$pkgname-$pkgver.tar.gz")
+sha512sums=('5f89ecee77fc298dd7f7b25484f9b3dc776d207be2dcb1f28bacfb3d0eb34c76f8b1837de1985a4ae4a96cb6b815cb3d984b37d4fc5ae7aa3a6b9fa40bc01ca2')
+
+build() {
+       cd $pkgname-$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
+       make
+}
+
+package() {
+       cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to