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

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


    Date: Tuesday, July 7, 2020 @ 16:36:19
  Author: felixonmars
Revision: 659321

archrelease: copy trunk to community-staging-x86_64

Added:
  yass/repos/community-staging-x86_64/
  yass/repos/community-staging-x86_64/PKGBUILD
    (from rev 659320, yass/trunk/PKGBUILD)

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

Copied: yass/repos/community-staging-x86_64/PKGBUILD (from rev 659320, yass/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:36:19 UTC (rev 659321)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=yass
+pkgver=0.1.0
+pkgrel=2
+pkgdesc="Yet Another Scrolling Scope"
+arch=('x86_64')
+url="https://kokkinizita.linuxaudio.org/linuxaudio/"
+license=('GPL2')
+groups=('pro-audio')
+depends=('clthreads' 'clxclient' 'jack')
+makedepends=('gendesk')
+backup=('etc/yass.conf')
+source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$pkgname-$pkgver.tar.bz2")
+sha512sums=('c8107368ea014c0f078cd73df325aa68e15af2ce8797e02dbcc4cff4b03b753f9dd7301d9ef675960021a94ca47354cc93cae3f0e8abbbece54d9333ee4f77a2')
+validpgpkeys=()
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  sed -e '/native/d' \
+      -i source/Makefile
+  # XDG desktop files
+  gendesk -n \
+          --pkgname ${pkgname} \
+          --pkgdesc "${pkgdesc}" \
+          --name YASS \
+          --categories "AudioVideo;Audio"
+}
+
+build() {
+  cd "$pkgname-$pkgver/source"
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver/source"
+  make DESTDIR="${pkgdir}" PREFIX="/usr" install
+  # XDG desktop integration
+  install -vDm 644 "../${pkgname}.desktop" \
+    -t "${pkgdir}/usr/share/applications/"
+  # docs
+  install -vDm 644 ../{AUTHORS,README} -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  # configuration
+  install -vDm 644 ../.yassrc "${pkgdir}/etc/yass.conf"
+}



More information about the arch-commits mailing list