[arch-commits] Commit in (5 files)
Alexander Rødseth
arodseth at archlinux.org
Sun Jun 3 18:06:09 UTC 2018
Date: Sunday, June 3, 2018 @ 18:06:09
Author: arodseth
Revision: 339493
Moving from AUR
17 votes
10.88 popularity
Added:
bat/
bat/repos/
bat/repos/community-x86_64/
bat/trunk/
bat/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: bat/trunk/PKGBUILD
===================================================================
--- bat/trunk/PKGBUILD (rev 0)
+++ bat/trunk/PKGBUILD 2018-06-03 18:06:09 UTC (rev 339493)
@@ -0,0 +1,31 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Wesley Moore <wes at wezm.net>
+
+pkgname=bat
+pkgver=0.4.1
+pkgrel=2
+pkgdesc='cat clone with syntax highlighting and Git integration'
+arch=('x86_64')
+url='https://github.com/sharkdp/bat'
+license=('MIT' 'APACHE')
+makedepends=('cmake' 'rust')
+depends=('curl' 'libssh2' 'oniguruma')
+conflicts=('bacula-bat')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('3ae66854da59d691b8740672708a2e7f2f240c76e8a00283f59a6e39127e4583')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ cargo build --release
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ install -Dm755 target/release/$pkgname "$pkgdir"/usr/bin/$pkgname
+ install -Dm644 LICENSE-APACHE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-APACHE
+ install -Dm644 LICENSE-MIT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-MIT
+}
+
+# vim: ts=2 sw=2 et:
Property changes on: bat/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list