Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
add tty font and example config file to package
From 4f707c28d21817e72304ab03f635df361ef341d6 Mon Sep 17 00:00:00 2001
From: Joost Bremmer <contact@madeofmagicandwires.online>
Date: Thu, 17 Oct 2019 17:19:58 +0200
Subject: [PATCH] Add tty font and example config to package
---
.SRCINFO | 2 +-
PKGBUILD | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/.SRCINFO b/.SRCINFO
index 6540a88..56b5a75 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cava
pkgdesc = Console-based Audio Visualizer for Alsa
pkgver = 0.6.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/karlstav/cava
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index dc60596..acba748 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
# Maintainer: Nissar Chababy <funilrys at outlook dot com>
-# Ex-Maintainer: Celestial Walrus <aur@celestial.cf>
+# Contributor: Joost Bremmer <contact@madeofmagicandwires.online>
+# Contributor: Celestial Walrus <aur@celestial.cf>
pkgname=cava
pkgver=0.6.1
-pkgrel=1
+pkgrel=2
pkgdesc='Console-based Audio Visualizer for Alsa'
arch=('any')
url='https://github.com/karlstav/cava'
@@ -21,6 +22,6 @@ build() {
package() {
cd $pkgname-$pkgver
- install -Dm755 cava "$pkgdir/usr/bin/cava"
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+ make DESTDIR="$pkgdir/" install
+ install -Dvm644 example_files/config "${pkgdir}/usr/share/doc/cava/config"
}
--
2.23.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.