Verified Commit 82d9237e authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/*: Modernise / fix syntax / metadata / deps

parent 0f4ea66b
......@@ -10,14 +10,14 @@ arch="all"
options="!check" # No test suite
license="ISC"
depends="audacious"
install_if="audacious=$pkgver"
makedepends="audacious-dev>=${pkgver%.*}
makedepends="audacious-dev>=${pkgver%.*} autoconf automake
alsa-lib-dev curl-dev dbus-glib-dev faad2-dev ffmpeg-dev flac-dev
fluidsynth-dev lame-dev libcddb-dev libcdio-dev libcdio-paranoia-dev
libcue-dev libguess-dev libmodplug-dev libmms-dev libmowgli-dev
libnotify-dev libogg-dev libsamplerate-dev libsndfile-dev libvorbis-dev
libxcomposite-dev libxml2-dev mpg123-dev neon-dev pulseaudio-dev
qt5-qtmultimedia-dev sdl-dev wavpack-dev"
install_if="audacious=$pkgver"
subpackages="$pkgname-lang"
source="https://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2"
......
......@@ -15,8 +15,7 @@ replaces="ttf-cantarell"
source="https://download.gnome.org/sources/cantarell-fonts/$pkgver/cantarell-fonts-$pkgver.tar.xz"
package() {
cd "$builddir"/prebuilt
install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/OTF/ *.otf
install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/OTF/ "$builddir"/prebuilt/*.otf
}
sha512sums="638298a6381a3ede862d1b100fcfea943bebb5e1c0dc4f1597ab2f841e933b484436b139090a669c770c02483a24f2b92bbd12bce71d7a40eb4c325573e3df9e cantarell-fonts-0.111.tar.xz"
......@@ -9,6 +9,7 @@ pkgdesc="Tool to generate C bindings from Rust code"
url="https://github.com/eqrion/cbindgen"
arch="all"
license="MPL-2.0"
depends=""
makedepends="cargo"
source=""
......
......@@ -6,8 +6,8 @@ pkgrel=0
pkgdesc="Legacy Erlang build tool"
url="https://github.com/rebar/rebar"
arch="noarch"
license="Apache-2"
options="!tracedeps"
license="Apache-2.0"
depends="erlang"
makedepends="erlang-dev"
source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/rebar/rebar/tar.gz/$pkgver"
......
......@@ -6,8 +6,8 @@ pkgrel=0
pkgdesc="Erlang build tool"
url="http://www.rebar3.org/"
arch="noarch"
license="Apache-2"
options="!tracedeps"
license="Apache-2.0"
depends="erlang"
makedepends="erlang-dev"
subpackages="$pkgname-doc"
......
......@@ -16,7 +16,6 @@ subpackages="$pkgname-dev $pkgname-doc"
source="https://freedesktop.org/software/farstream/releases/farstream/farstream-$pkgver.tar.gz"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -29,12 +28,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -8,7 +8,7 @@ url="https://gleam.run"
arch="all"
license="Apache-2.0"
depends="erl-rebar3"
makedepends="cargo erlang-dev"
makedepends="cargo erlang-dev rust"
source="$pkgname-$pkgver.tar.gz::https://github.com/gleam-lang/gleam/archive/v$pkgver.tar.gz"
# dependencies taken from Cargo.lock
......
......@@ -10,8 +10,8 @@ license="Public-Domain"
depends="nss" # for TLS, needed by all OpenJDKs.
makedepends=""
subpackages=""
source="java.profd"
triggers="java-common.trigger=/usr/lib/jvm"
source="java.profd"
package() {
mkdir -p "$pkgdir"/usr/bin
......
......@@ -12,11 +12,9 @@ depends="fontconfig"
makedepends=""
subpackages=""
source="https://collab.its.virginia.edu/access/content/group/26a34146-33a6-48ce-001e-f16ce7908a6a/Tibetan%20fonts/Tibetan%20Unicode%20Fonts/Jomolhari-alpha003.zip"
builddir="$srcdir"
package() {
cd "$builddir"
install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ *.ttf
install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ "$srcdir"/*.ttf
}
sha512sums="d3dd179c84c5cfb5cdc4a82ea1356b594973ef056cbc8fa4e23e37f21573b138eded19ef7370803dbe796e80a0d2c72a0866eb9f36e4b511627c770a00e08270 Jomolhari-alpha003.zip"
......@@ -14,13 +14,11 @@ subpackages="$pkgname-doc"
source="https://www.kokkonen.net/tjko/src/jpegoptim-$pkgver.tar.gz"
prepare() {
cd "$builddir"
default_prepare
update_config_sub
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -32,7 +30,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -15,8 +15,7 @@ source="https://downloads.sourceforge.net/khmer/All_KhmerOS_$pkgver.zip"
builddir="$srcdir/All_KhmerOS_$pkgver"
package() {
cd "$builddir"
install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ *.ttf
install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ "$builddir"/*.ttf
}
sha512sums="5fded88a9149d0fd59a377f08d9e1ea63ecffede58cde42e28504a48b12b35dec699b1ea0e0bbb95465c281d5b19ddfbe808a3c4ef40cd46295aaa069bd9127f All_KhmerOS_5.0.zip"
......@@ -13,17 +13,14 @@ subpackages=""
source="lesscpy-$pkgver.tar.gz::https://github.com/lesscpy/lesscpy/archive/$pkgver.tar.gz"
build() {
cd "$builddir"
python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py check
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
......
......@@ -7,11 +7,13 @@ pkgdesc="Import filter and tools for various ebook formats"
url="https://sourceforge.net/projects/libebook/"
arch="all"
license="MPL-2.0"
depends_dev="boost-dev librevenge-dev liblangtag-dev"
makedepends="$depends_dev icu-dev libxml2-dev zlib-dev doxygen gperf"
depends=""
depends_dev="boost-dev"
checkdepends="cppunit-dev"
makedepends="$depends_dev icu-dev liblangtag-dev librevenge-dev libxml2-dev
zlib-dev doxygen gperf"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://downloads.sourceforge.net/project/libebook/libe-book-$pkgver/libe-book-$pkgver.tar.bz2"
source="https://downloads.sourceforge.net/project/libebook/libe-book-$pkgver/libe-book-$pkgver.tar.bz2"
prepare() {
default_prepare
......@@ -19,7 +21,6 @@ prepare() {
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -33,12 +34,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -8,13 +8,12 @@ url="https://sourceforge.net/projects/libepubgen/"
arch="all"
license="MPL-2.0"
depends=""
makedepends="librevenge-dev libxml2-dev doxygen"
checkdepends="cppunit-dev"
makedepends="librevenge-dev libxml2-dev doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -26,12 +25,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -8,13 +8,12 @@ url="https://wiki.documentfoundation.org/Libexttextcat"
arch="all"
license="BSD-3-Clause"
depends=""
makedepends=""
checkdepends="bash"
makedepends=""
subpackages="$pkgname-dev"
source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -28,12 +27,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -13,13 +13,11 @@ subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/libglade/${pkgver%.*}/libglade-$pkgver.tar.bz2"
prepare() {
cd "$builddir"
update_config_sub
default_prepare
update_config_sub
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -31,12 +29,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -7,18 +7,17 @@ pkgdesc="GObject-based client library for the music player daemon"
url="https://gmpclient.org/"
arch="all"
license="GPL-2.0+ AND BSD-3-Clause"
depends=""
makedepends="glib-dev"
subpackages="$pkgname-dev"
source="http://download.sarine.nl/Programs/gmpc/11.8/libmpd-$pkgver.tar.gz"
prepare() {
cd "$builddir"
default_prepare
update_config_sub
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -30,12 +29,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -8,13 +8,13 @@ url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub"
arch="all"
options="!check" # No test suite.
license="MPL-2.0 AND (MPL-1.1 OR GPL-2.0+ OR LGPL-2.0+)"
depends_dev="boost-dev librevenge-dev"
makedepends="$depends_dev icu-dev doxygen"
depends=""
depends_dev="boost-dev"
makedepends="$depends_dev doxygen icu-dev librevenge-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -27,7 +27,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -12,7 +12,7 @@ depends=""
depends_dev="boost-dev attr-dev zlib-dev"
makedepends="$depends_dev librevenge-dev doxygen"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"
source="https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"
build() {
./configure \
......
......@@ -27,9 +27,7 @@ build() {
package() {
make DESTDIR="$pkgdir" install
cd data
make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" -C data install
}
sha512sums="4d61464f26f631d272ef7285fbb931d3931b08240b58166b7e9a28c95ff5a537ca04af4c9673541b73997339d66061858c9cd18873b4c16f9ad2ccd1b68e81a3 libnumbertext-1.0.5.tar.xz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment