diff options
author | Nicolas F | 2016-07-24 18:33:58 +0200 |
---|---|---|
committer | Nicolas F | 2016-07-24 18:33:58 +0200 |
commit | 011a37641d4fc3b3f1c719139c6d2b53e15f4a24 (patch) | |
tree | c66248af3720e1a97577340608891e252db04300 | |
parent | af87e7dd4b0adb308c4299954a6d53281d3a4cfd (diff) | |
download | aur-011a37641d4fc3b3f1c719139c6d2b53e15f4a24.tar.gz |
Fix /etc/profile.d/snowmix.sh
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | snowmix.sh | 1 |
3 files changed, 8 insertions, 11 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Thu Mar 31 10:16:00 UTC 2016 +# Sun Jul 24 16:33:28 UTC 2016 pkgbase = snowmix pkgdesc = Dynamic audio and video feed mixer pkgver = 0.5.1 - pkgrel = 3 + pkgrel = 4 url = https://snowmix.sourceforge.net arch = i686 arch = x86_64 @@ -25,9 +25,7 @@ pkgbase = snowmix depends = bwidget depends = glu source = https://downloads.sourceforge.net/sourceforge/snowmix/Snowmix-0.5.1.tar.gz - source = snowmix.sh sha256sums = 0f39911243741f9c64a1994c7a0523db41e2e6e24efacd634d0d1f33c9c3e7bd - sha256sums = fce726356bb10aafa30aff1beebb8750159e45c356091330eb3566866a78383c pkgname = snowmix @@ -1,7 +1,7 @@ # Maintainer: Nicolas F. <aur@fratti.ch> pkgname=snowmix pkgver=0.5.1 -pkgrel=3 +pkgrel=4 pkgdesc="Dynamic audio and video feed mixer" arch=('i686' 'x86_64' 'armv7h') url="https://snowmix.sourceforge.net" @@ -10,10 +10,8 @@ groups=() makedepends=('autoconf' 'automake' 'libtool' 'pkg-config' 'awk') depends=('openbsd-netcat' 'cairo' 'pango' 'gst-libav' 'sdl' 'freeglut' 'libpng' 'tcl' 'bwidget' 'glu') -source=("https://downloads.sourceforge.net/sourceforge/snowmix/Snowmix-$pkgver.tar.gz" - "snowmix.sh") -sha256sums=('0f39911243741f9c64a1994c7a0523db41e2e6e24efacd634d0d1f33c9c3e7bd' - 'fce726356bb10aafa30aff1beebb8750159e45c356091330eb3566866a78383c') +source=("https://downloads.sourceforge.net/sourceforge/snowmix/Snowmix-$pkgver.tar.gz") +sha256sums=('0f39911243741f9c64a1994c7a0523db41e2e6e24efacd634d0d1f33c9c3e7bd') build() { cd "Snowmix-$pkgver" @@ -28,6 +26,8 @@ build() { --enable-snowmixglu --enable-snowmixglut --enable-snowmixgui export SNOWMIX="/usr/lib/Snowmix-$pkgver" make + echo "test -f /usr/bin/snowmix &&" \ + "export SNOWMIX=/usr/lib/Snowmix-${pkgver}" > snowmix_env.sh } package() { @@ -35,7 +35,7 @@ package() { export SNOWMIX="/usr/lib/Snowmix-$pkgver" make DESTDIR="$pkgdir" install - install -Dm755 "$srcdir"/snowmix.sh \ + install -Dm755 snowmix_env.sh \ "${pkgdir}"/etc/profile.d/snowmix.sh rm -r "$pkgdir/usr/lib/Snowmix-$pkgver/test" diff --git a/snowmix.sh b/snowmix.sh deleted file mode 100644 index 502203106f0c..000000000000 --- a/snowmix.sh +++ /dev/null @@ -1 +0,0 @@ -test -f /usr/bin/snowmix && export SNOWMIX=/usr/lib/Snowmix-0.5.0 |