summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-30 22:51:30 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-30 22:51:30 +0000
commit2f491df432b567d9446705c604ec4e1e4ad84d2d (patch)
treed75550739bc548ab8171c378778fa024dc9facde /user
parent400205142a424625ae072e089f26cdf031ce3bef (diff)
downloadpackages-2f491df432b567d9446705c604ec4e1e4ad84d2d.tar.gz
packages-2f491df432b567d9446705c604ec4e1e4ad84d2d.tar.bz2
packages-2f491df432b567d9446705c604ec4e1e4ad84d2d.tar.xz
packages-2f491df432b567d9446705c604ec4e1e4ad84d2d.zip
user/*: Modernise / fix syntax
Diffstat (limited to 'user')
-rw-r--r--user/libcanberra/APKBUILD5
-rw-r--r--user/lynx/APKBUILD3
-rw-r--r--user/sound-theme-freedesktop/APKBUILD3
-rw-r--r--user/xf86-input-evdev/APKBUILD3
-rw-r--r--user/xf86-input-synaptics/APKBUILD3
5 files changed, 1 insertions, 16 deletions
diff --git a/user/libcanberra/APKBUILD b/user/libcanberra/APKBUILD
index 756f8e3f7..43480cb26 100644
--- a/user/libcanberra/APKBUILD
+++ b/user/libcanberra/APKBUILD
@@ -16,13 +16,11 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-gtk2 $pkgname-gtk3
source="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$pkgver.tar.xz"
prepare() {
- cd "$builddir"
- update_config_sub
default_prepare
+ update_config_sub
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,7 +33,6 @@ build() {
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
diff --git a/user/lynx/APKBUILD b/user/lynx/APKBUILD
index 24af506f4..70fb32c0c 100644
--- a/user/lynx/APKBUILD
+++ b/user/lynx/APKBUILD
@@ -16,7 +16,6 @@ source="https://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${_relver}
builddir="$srcdir/${pkgname}${_relver}"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,12 +32,10 @@ build() {
}
check() {
- cd "$builddir"
./lynx -version
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install install-help install-doc \
helpdir=/usr/share/doc/lynx/help \
docdir=/usr/share/doc/lynx
diff --git a/user/sound-theme-freedesktop/APKBUILD b/user/sound-theme-freedesktop/APKBUILD
index ad1f9c0e4..eaf320db8 100644
--- a/user/sound-theme-freedesktop/APKBUILD
+++ b/user/sound-theme-freedesktop/APKBUILD
@@ -13,7 +13,6 @@ subpackages=""
source="https://people.freedesktop.org/~mccann/dist/sound-theme-freedesktop-$pkgver.tar.bz2"
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/xf86-input-evdev/APKBUILD b/user/xf86-input-evdev/APKBUILD
index 3339d8caf..caa0ae96f 100644
--- a/user/xf86-input-evdev/APKBUILD
+++ b/user/xf86-input-evdev/APKBUILD
@@ -13,7 +13,6 @@ makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev
source="https://www.X.Org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -26,12 +25,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
diff --git a/user/xf86-input-synaptics/APKBUILD b/user/xf86-input-synaptics/APKBUILD
index 5d45c4602..c2e8adcb8 100644
--- a/user/xf86-input-synaptics/APKBUILD
+++ b/user/xf86-input-synaptics/APKBUILD
@@ -13,7 +13,6 @@ subpackages="$pkgname-doc $pkgname-dev"
source="https://www.X.Org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -26,12 +25,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}