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

David Runge dvzrv at archlinux.org
Sun Apr 1 22:44:00 UTC 2018


    Date: Sunday, April 1, 2018 @ 22:43:59
  Author: dvzrv
Revision: 313766

archrelease: copy trunk to community-testing-x86_64

Added:
  freewheeling/repos/community-testing-x86_64/
  freewheeling/repos/community-testing-x86_64/PKGBUILD
    (from rev 313765, freewheeling/trunk/PKGBUILD)

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

Copied: freewheeling/repos/community-testing-x86_64/PKGBUILD (from rev 313765, freewheeling/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-04-01 22:43:59 UTC (rev 313766)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=freewheeling
+pkgver=0.6.4
+pkgrel=1
+pkgdesc="A highly configurable, intuitive, and fluid user interface for instrumentalists to capture audio loops in real-time"
+arch=('x86_64')
+url="https://github.com/free-wheeling/freewheeling"
+license=('GPL2')
+groups=('pro-audio')
+depends=('fluidsynth' 'liblo' 'libxml2' 'nettle' 'sdl_gfx' 'sdl_ttf')
+makedepends=('gendesk')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/free-wheeling/${pkgname}/archive/v${pkgver}.tar.gz"
+        "$pkgname.jpg::https://raw.githubusercontent.com/wiki/free-wheeling/${pkgname}/${pkgname}-logo-1.jpg")
+sha512sums=('e4c948293363976c8dfc6ba508f7b7a0b01746f3d7d3bbf6e5464dc9da0ff4ac92466389a85ce7751b026ff3208ca0fee62aeb4d7ff94eae7582fba534d4d99a'
+            '9f8386bff7b34c8ca44d0ad5b87d4e74a0b901a64e50bc5d8d99dd1f1ad10eb5b6b29f7b6fc8f106c425b2de0285517af3158472654abb2c914d48645dab0913')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -vfi
+  # XDG desktop file
+  gendesk -n \
+          --pkgname ${pkgname} \
+          --pkgdesc "${pkgdesc}" \
+          --name Freewheeling \
+          --exec fweelin \
+          --categories "Audio;Sequencer"
+  # fix broken SDL/SDL.h include
+  export CPPFLAGS="-I/usr/include/SDL"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  # XDG desktop integration
+  install -vDm 644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications/"
+  install -vDm 644 "../${pkgname}.jpg" -t "${pkgdir}/usr/share/pixmaps/"
+  #docs
+  install -vDm 644 {AUTHORS,ChangeLog,NEWS,README.md,THANKS,TUNING} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  #examples
+  install -vDm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+}



More information about the arch-commits mailing list