[arch-commits] Commit in (catimg catimg/repos catimg/trunk catimg/trunk/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Dec 13 00:47:56 UTC 2017
Date: Wednesday, December 13, 2017 @ 00:47:55
Author: felixonmars
Revision: 274042
addpkg: catimg 2.2-1
Added:
catimg/
catimg/repos/
catimg/trunk/
catimg/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: catimg/trunk/PKGBUILD
===================================================================
--- catimg/trunk/PKGBUILD (rev 0)
+++ catimg/trunk/PKGBUILD 2017-12-13 00:47:55 UTC (rev 274042)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: sqlwwx <wwx_2012 at live.com>
+# 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
+}
Property changes on: catimg/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list