diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/din/PKGBUILD | 66 | ||||
-rw-r--r-- | pcr/din/din.desktop | 11 | ||||
-rw-r--r-- | pcr/din/din.install | 10 | ||||
-rw-r--r-- | pcr/din/din.png | bin | 420 -> 0 bytes |
4 files changed, 0 insertions, 87 deletions
diff --git a/pcr/din/PKGBUILD b/pcr/din/PKGBUILD deleted file mode 100644 index bf57f3bcc..000000000 --- a/pcr/din/PKGBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Maintainer (AUR): muzhed <chustokes@126.com> - -# parabola changes and rationale: -# - added missing depends: glu - -pkgname=din -pkgver=29 -pkgrel=1 -pkgdesc="A sound synthesizer and musical instrument." -arch=("i686" "x86_64" "armv7h") -url="http://dinisnoise.org/" -license=('GPL2') -depends=('jack' 'libgl' 'sdl' 'tcl' 'glu') -makedepends=('boost') -install=$pkgname.install -source=("https://archive.org/download/dinisnoise_source_code/$pkgname-$pkgver.tar.gz" - din.png - din.desktop) -md5sums=('a55e6eb3f1e112150481ad75894b3ea4' - '50ca4dc107eaa0d5b6a1efe21c469bd7' - 'e38840354b0f197079e6bbeda03c8613') - - -build() { - cd "$srcdir"/"$pkgname-$pkgver" - - autoreconf -fvi - # use alsa instead of jack - # ./configure CXXFLAGS="-O3 -D__UNIX_ALSA__" CFLAGS=-O3 - ./configure CXXFLAGS="-O3 -D__UNIX_JACK__" CFLAGS=-O3 - make -} - -package() { - cd "$srcdir"/"$pkgname-$pkgver" - install -Dm755 src/din "$pkgdir/usr/lib/din/din" - cp -r "src/factory" "$pkgdir/usr/lib/din" - ln -s "/usr/lib/din/factory" "$pkgdir/usr/lib/din/user" - - # install exec script - mkdir -p "$pkgdir/usr/bin" - cat > "$pkgdir/usr/bin/din" <<EOF -#!/bin/sh - -DIN_HOME_DIR="\${HOME}/.config/din" -DIN_INSTALL_DIR="/usr/lib/din" - -mkdir -p "\${DIN_HOME_DIR}" - -# copy files so that user could save settings -cp -rn "\${DIN_INSTALL_DIR}/factory" "\${DIN_HOME_DIR}" -cp -rn "\${DIN_INSTALL_DIR}/din" "\${DIN_HOME_DIR}" - -cd "\${DIN_HOME_DIR}" -exec ./din "\$@" -EOF - chmod +x "$pkgdir/usr/bin/din" - - # install license - install -Dm644 COPYING "$pkgdir/usr/share/licenses/din/LICENSE" - - # install icon and desktop file - cd "$srcdir" - install -Dm644 $pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png" - install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" -} diff --git a/pcr/din/din.desktop b/pcr/din/din.desktop deleted file mode 100644 index b39f142c9..000000000 --- a/pcr/din/din.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=DIN Is Noise -GenericName=DIN Is Noise -Comment=An sound synthesizer and musical instrument -Exec=din -Icon=din -StartupNotify=true -Terminal=false -Type=Application -Categories=Application;AudioVideo;Audio;Midi;Music; diff --git a/pcr/din/din.install b/pcr/din/din.install deleted file mode 100644 index a8b6891b8..000000000 --- a/pcr/din/din.install +++ /dev/null @@ -1,10 +0,0 @@ -post_install() { - echo - echo " If you are upgrading, please remove your HOME/.config/din folder manually so that it can be updated" - echo -} -post_upgrade() { - echo - echo " If you are upgrading, please remove your HOME/.config/din folder manually so that it can be updated" - echo -} diff --git a/pcr/din/din.png b/pcr/din/din.png Binary files differdeleted file mode 100644 index 532aaf914..000000000 --- a/pcr/din/din.png +++ /dev/null |