summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-29 18:06:24 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-29 18:06:24 +0000
commit810b7e9d4260a5e9a5ba0acd98a2871f05fede4f (patch)
treee1b9adc665546e74dc7c4edba7eeb9fe637ce6c0
parentb9895e501cb1bdcd19ea7071b2d2f2a800756fe8 (diff)
downloadpackages-810b7e9d4260a5e9a5ba0acd98a2871f05fede4f.tar.gz
packages-810b7e9d4260a5e9a5ba0acd98a2871f05fede4f.tar.bz2
packages-810b7e9d4260a5e9a5ba0acd98a2871f05fede4f.tar.xz
packages-810b7e9d4260a5e9a5ba0acd98a2871f05fede4f.zip
user/*: Modernise / fix syntax
-rw-r--r--user/accountsservice/APKBUILD3
-rw-r--r--user/gsettings-desktop-schemas/APKBUILD1
-rw-r--r--user/libraw1394/APKBUILD5
-rw-r--r--user/xcb-util-cursor/APKBUILD6
4 files changed, 3 insertions, 12 deletions
diff --git a/user/accountsservice/APKBUILD b/user/accountsservice/APKBUILD
index 2cee00a05..f6eaa260d 100644
--- a/user/accountsservice/APKBUILD
+++ b/user/accountsservice/APKBUILD
@@ -16,7 +16,6 @@ source="https://www.freedesktop.org/software/accountsservice/accountsservice-$pk
"
build() {
- cd "$builddir"
CPPFLAGS="-D_PATH_WTMPX=\\\"/run/utmps/wtmp\\\"" meson \
--prefix=/usr \
--sysconfdir=/etc \
@@ -36,12 +35,10 @@ build() {
}
check() {
- cd "$builddir"
ninja -C output test
}
package() {
- cd "$builddir"
DESTDIR="$pkgdir" ninja -C output install
}
diff --git a/user/gsettings-desktop-schemas/APKBUILD b/user/gsettings-desktop-schemas/APKBUILD
index 47bf9ddf4..eaf6b74a3 100644
--- a/user/gsettings-desktop-schemas/APKBUILD
+++ b/user/gsettings-desktop-schemas/APKBUILD
@@ -6,6 +6,7 @@ pkgdesc="GSettings schemas shared by GNOME desktop components"
url="https://developer.gnome.org/gio/unstable/GSettings.html"
arch="noarch"
license="LGPL-2.0+"
+depends=""
makedepends="glib-dev gobject-introspection-dev intltool meson ninja"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
diff --git a/user/libraw1394/APKBUILD b/user/libraw1394/APKBUILD
index 0c8bb3501..fadd2d415 100644
--- a/user/libraw1394/APKBUILD
+++ b/user/libraw1394/APKBUILD
@@ -1,4 +1,4 @@
-# Maintainer:
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libraw1394
pkgver=2.1.2
pkgrel=2
@@ -12,7 +12,6 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="https://kernel.org/pub/linux/libs/ieee1394/$pkgname-$pkgver.tar.xz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -25,12 +24,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/user/xcb-util-cursor/APKBUILD b/user/xcb-util-cursor/APKBUILD
index 76f6d2016..e6b46f9e1 100644
--- a/user/xcb-util-cursor/APKBUILD
+++ b/user/xcb-util-cursor/APKBUILD
@@ -9,14 +9,12 @@ arch="all"
license="MIT"
depends=""
depends_dev="xcb-util-dev"
-makedepends="$depends_dev m4 util-macros xcb-util-image-dev xcb-util-renderutil-dev"
checkdepends="check-dev"
+makedepends="$depends_dev m4 util-macros xcb-util-image-dev xcb-util-renderutil-dev"
subpackages="$pkgname-dev"
source="https://xcb.freedesktop.org/dist/xcb-util-cursor-$pkgver.tar.gz"
build() {
- cd "$builddir"
- export CFLAGS="$CFLAGS -std=gnu99"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,12 +27,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}