makedeb
uade plays 200+ Amiga era computer music formats
Click here to go back to the commit logs for uade.
Hash: ff73f9d7ff73131e0863478438eed83b3f46b7b0
Message: Initial mpr release
diff --git a/.SRCINFO b/.SRCINFO
index 1701300..75e9865 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,33 @@
-pkgbase = uade
- pkgdesc = Unix Amiga Delitracker Emulator
- pkgver = 3.02
- pkgrel = 3
- url = https://zakalwe.fi/uade
- install = uade.install
- arch = i686
- arch = x86_64
- license = GPL
- depends = libao
- depends = fuse2
- depends = bencodetools
- source = https://zakalwe.fi/uade/uade3/uade-3.02.tar.bz2
- md5sums = 57cb58c3da91c1fb2d391966c44d5739
-
+generated-by = makedeb
pkgname = uade
+pkgbase = uade
+pkgdesc = uade plays 200+ Amiga era computer music formats
+pkgrel = 0
+pkgver = 3.03
+url = https://zakalwe.fi/uade
+arch = i386
+arch = amd64
+depends = libao4
+depends = bencodetools
+depends = libzakalwe
+depends = python3
+license = GPL-2
+license = LGPL-2.1
+makedepends = libao-dev
+makedepends = bencodetools
+makedepends = libzakalwe
+makedepends = python3
+makedepends = pkgconf
+optdepends = libfuse2: uadefs
+source = uade-3.03.tar.bz2::https://gitlab.com/uade-music-player/uade/-/archive/uade-3.03/uade-uade-3.03.tar.bz2
+b2sums = aa3af6a03d2f5acc462151b9d5612c8a023e8abd49e3d31c66ff4cb6b064f2f8e32b63786b6f9aa3180b9949be82874f8659c5c8d3f65684946555b63042789c
+makedepends = libao-dev
+makedepends = bencodetools
+makedepends = libzakalwe
+makedepends = python3
+makedepends = pkgconf
+optdepends = libfuse2: uadefs
+optmakedepends = audacious-dev: audacious plugin
+optmakedepends = libfuse-dev: uadefs
+optmakedepends = audacious-dev: audacious plugin
+optmakedepends = libfuse-dev: uadefs
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..84b3a53
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+pkg/
+src/
+uade*
diff --git a/PKGBUILD b/PKGBUILD
index bdaddea..58c3f0a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,49 @@
-# Maintainer: grimi <grimi at poczta dot fm>
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: grimi <grimi at poczta dot fm>
+_srcname=uade-uade
pkgname=uade
-pkgver=3.02
-pkgrel=3
-pkgdesc="Unix Amiga Delitracker Emulator"
-arch=('i686' 'x86_64')
+pkgver=3.03
+pkgrel=0
+pkgdesc="uade plays 200+ Amiga era computer music formats"
+arch=('i386' 'amd64')
url="https://zakalwe.fi/uade"
-license=('GPL')
-depends=('libao' 'fuse2' 'bencodetools')
-install=uade.install
-source=("https://zakalwe.fi/uade/uade3/$pkgname-$pkgver.tar.bz2")
-md5sums=('57cb58c3da91c1fb2d391966c44d5739')
+license=('GPL-2' 'LGPL-2.1')
+makedepends=('libao-dev' 'bencodetools' 'libzakalwe' 'python3' 'pkgconf')
+optmakedepends=('audacious-dev: audacious plugin'
+ 'libfuse-dev: uadefs')
+depends=('libao4' 'bencodetools' 'libzakalwe' 'python3')
+optdepends=('libfuse2: uadefs')
+source=("$pkgname-$pkgver.tar.bz2::https://gitlab.com/uade-music-player/uade/-/archive/uade-${pkgver}/uade-uade-${pkgver}.tar.bz2")
+b2sums=('aa3af6a03d2f5acc462151b9d5612c8a023e8abd49e3d31c66ff4cb6b064f2f8e32b63786b6f9aa3180b9949be82874f8659c5c8d3f65684946555b63042789c')
build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --package-prefix="$pkgdir"
- make
+ cd "$_srcname-$pkgver"
+ ./configure --prefix=/usr --package-prefix="$pkgdir" --with-text-scope
+ # install python script in pkgdir
+ sed -i 's!setup.py install.*!setup.py install --root='"$pkgdir"' --optimize=1 --install-layout deb!' 'Makefile'
+ make -j $(nproc)
}
package() {
- cd $pkgname-$pkgver
+ cd "$_srcname-$pkgver"
make install
-}
+ # postinst script
+ install -dm755 "$pkgdir/DEBIAN/"
+ echo 'echo '\''''>>>''To setup Your own config:
+''>>>''copy from /usr/share/uade/
+''>>>''"uade.conf" and "uaerc" to ~/.uade,
+''>>>''and do some changes...'\''' > "$pkgdir/DEBIAN/postinst"
+chmod 755 "$pkgdir/DEBIAN/postinst"
+
+ # doc
+ install -Dm644 README "$pkgdir/usr/share/doc/${pkgname}/readme"
+ install -Dm644 COPYING "$pkgdir/usr/share/doc/${pkgname}/license"
+ install -Dm644 doc/UAE-* "${pkgdir}/usr/share/doc/$pkgname/"
+ ln -s "/usr/share/common-licenses/GPL-2" "${pkgdir}/usr/share/doc/$pkgname/"
+ ln -s "/usr/share/common-licenses/LGPL-2.1" "${pkgdir}/usr/share/doc/$pkgname/"
+ install -Dm644 ChangeLog "$pkgdir/usr/share/doc/${pkgname}/changelog"
+ install -Dm644 AUTHORS "$pkgdir/usr/share/doc/${pkgname}/authors"
+ gzip "$pkgdir/usr/share/doc/${pkgname}/changelog"
+}
diff --git a/uade.install b/uade.install
deleted file mode 100644
index beab268..0000000
--- a/uade.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- echo '>>> To setup Your own config:'
- echo '>>> copy from /usr/share/uade2/'
- echo '>>> "uade.conf" and "uaerc" to ~/.uade2,'
- echo '>>> and do some changes...'
-}
-