summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzapoutix2022-01-29 22:20:40 +0100
committerzapoutix2022-01-29 22:20:40 +0100
commit6eff2b97cf64c8ecf19cf56395d7b1cfa263c431 (patch)
tree825c33a0400347195d0e36314bd03861b0641970
downloadaur-6eff2b97cf64c8ecf19cf56395d7b1cfa263c431.tar.gz
Add Bosca Ceoil AUR package
-rw-r--r--.SRCINFO22
-rw-r--r--LICENSE13
-rw-r--r--PKGBUILD51
-rw-r--r--boscaceoil19
-rw-r--r--boscaceoil.desktop9
5 files changed, 114 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..a092dc7949eb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = boscaceoil
+ pkgdesc = Bosca Ceoil is a free, easy to use tool for creating music!
+ pkgver = 2.0.1
+ pkgrel = 1
+ url = https://boscaceoil.net/
+ arch = x86_64
+ license = custom
+ makedepends = icoutils
+ depends = wine
+ depends = lib32-alsa-plugins
+ depends = lib32-libpulse
+ depends = lib32-openal
+ source = boscaceoil_win_v2.zip::http://www.boscaceoil.net/downloads/boscaceoil_win_v2.zip
+ source = boscaceoil
+ source = boscaceoil.desktop
+ source = LICENSE
+ sha512sums = 73fa4bd00b85920197221ba0fb1dfc5412c98d6a7a6eebe8e4c46289a2846edfaede0feadd5e7b020c09b716206ca641e33b465c9968c4cbb6eb998b93593cc2
+ sha512sums = 6004c38f7d95b084aaad6d66c59a0b9056dc500d8e11db315b6cf6b8fae6ea56e84c38ef59528961ca156d8d7a99de1a55c3c0f2b0f40752e5997c8dd141f11b
+ sha512sums = 504c4c050e86639d839d809b2b4d84fe4f4e4cee38bd1c2c1bea275902c8440cd1b0cb994090d9a72980887e14e006b95596260fffda03945de0acae16a91891
+ sha512sums = 06cf0662a4ac8bc8fe8b4cae13a244d03536239fec9839b5b67f64aeda8e3268e7d01d65acf401a45ba8415da31c6acc9c8d9bc725390f8ab640242a5253d5c8
+
+pkgname = boscaceoil
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..726888e65c11
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,13 @@
+Available under the FreeBSD licence. Feel free to fork Bosca Ceoil and do your own thing with it! FreeBSD licence text follows:
+
+Copyright 1992-2013 Terry Cavanagh. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY TERRY CAVANAGH ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Terry Cavanagh.
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..4195ee8e9de4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: Mathieu ATTAL <mathieu.attal@gmail.com>
+# Contributor: Mathieu ATTAL <mathieu.attal@gmail.com>
+
+# There is no source code available for the app itself.
+# Repository https://github.com/TerryCavanagh/boscaceoil/
+
+pkgname=boscaceoil
+
+_pkgver_tag='2.0' # Git tag associated with the release where the latest archive is.
+_pkgver_suffix='.1' # Anything after $_pkgver_tag that is present in the archive name.
+_pkgver_upstream="$_pkgver_tag$_pkgver_suffix"
+
+pkgver="$_pkgver_upstream"
+
+pkgrel=1
+
+pkgdesc='Bosca Ceoil is a free, easy to use tool for creating music!'
+arch=('x86_64')
+url="https://boscaceoil.net/"
+source=("boscaceoil_win_v2.zip::http://www.boscaceoil.net/downloads/boscaceoil_win_v2.zip"
+ 'boscaceoil'
+ 'boscaceoil.desktop'
+ 'LICENSE')
+license=('custom')
+depends=(wine lib32-alsa-plugins lib32-libpulse lib32-openal)
+makedepends=(icoutils)
+sha512sums=('73fa4bd00b85920197221ba0fb1dfc5412c98d6a7a6eebe8e4c46289a2846edfaede0feadd5e7b020c09b716206ca641e33b465c9968c4cbb6eb998b93593cc2'
+ '6004c38f7d95b084aaad6d66c59a0b9056dc500d8e11db315b6cf6b8fae6ea56e84c38ef59528961ca156d8d7a99de1a55c3c0f2b0f40752e5997c8dd141f11b'
+ '504c4c050e86639d839d809b2b4d84fe4f4e4cee38bd1c2c1bea275902c8440cd1b0cb994090d9a72980887e14e006b95596260fffda03945de0acae16a91891'
+ '06cf0662a4ac8bc8fe8b4cae13a244d03536239fec9839b5b67f64aeda8e3268e7d01d65acf401a45ba8415da31c6acc9c8d9bc725390f8ab640242a5253d5c8')
+
+build() {
+ wrestool -x --output=boscaceoil.ico -t14 "BoscaCeoil.exe"
+ icotool -x boscaceoil.ico -o boscaceoil.png
+}
+
+package() {
+ install -dm755 "$pkgdir/usr/share/boscaceoil"
+ cp -ra "." "$pkgdir/usr/share/boscaceoil"
+ rm -rf "$pkgdir/usr/share/boscaceoil/boscaceoil_win_v2.zip"
+
+ install -Dm755 boscaceoil "$pkgdir/usr/bin/boscaceoil"
+
+ install -dm755 "$pkgdir/usr/share/applications"
+ install -m644 boscaceoil.desktop "$pkgdir/usr/share/applications/boscaceoil.desktop"
+
+ install -dm755 "$pkgdir/usr/share/icons/hicolor/256x256/apps"
+ install -m644 boscaceoil.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/boscaceoil.png"
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/boscaceoil b/boscaceoil
new file mode 100644
index 000000000000..e26d4020fc76
--- /dev/null
+++ b/boscaceoil
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+set -e
+
+app_folder_current_version=1
+app_folder="$HOME/.boscaceoil"
+export WINEDLLOVERRIDES="mscoree,mshtml="
+export WINEARCH=win64
+export WINEPREFIX="$app_folder/wine"
+
+
+
+if [ ! -d "$app_folder" ] ; then
+ mkdir -p "$WINEPREFIX"
+fi
+
+
+wine start /d "/usr/share/boscaceoil/" "BoscaCeoil.exe" "$@"
+
diff --git a/boscaceoil.desktop b/boscaceoil.desktop
new file mode 100644
index 000000000000..4655ff52a58b
--- /dev/null
+++ b/boscaceoil.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bosca Ceoil
+Exec=/usr/bin/boscaceoil %F
+Comment=Bosca Ceoil is a free, easy to use tool for creating music!
+Type=Application
+StartupNotify=true
+Icon=boscaceoil
+Categories=Music;
+Terminal=false