aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptrcnull <git@ptrcnull.me>2022-02-16 15:08:44 +0100
committeralice <alice@ayaya.dev>2022-02-16 17:42:17 +0000
commit6bc9fe80b5cf9fb82c877eb1fc4df5aea91a5820 (patch)
tree1e74f3ddd2d430d127540ec39781df404b02a117
parentdc49cc2f94b3cd0dd09fa74af9cc65c8ab9a34f8 (diff)
community/*: remove unnecessary "cd $builddir"
-rw-r--r--community/a52dec/APKBUILD3
-rw-r--r--community/aircrack-ng/APKBUILD4
-rw-r--r--community/alpine-make-vm-image/APKBUILD1
-rw-r--r--community/aoetools/APKBUILD2
-rw-r--r--community/aom/APKBUILD1
-rw-r--r--community/bannergrab/APKBUILD2
-rw-r--r--community/bsm-simple-themes/APKBUILD1
-rw-r--r--community/cachefilesd/APKBUILD2
-rw-r--r--community/cdrkit/APKBUILD3
-rw-r--r--community/chntpw/APKBUILD2
-rw-r--r--community/clamsmtp/APKBUILD4
-rw-r--r--community/cntlm/APKBUILD2
-rw-r--r--community/copy-router-config/APKBUILD6
-rw-r--r--community/cpptest/APKBUILD3
-rw-r--r--community/csync2/APKBUILD4
-rw-r--r--community/dcadec/APKBUILD2
-rw-r--r--community/detenc/APKBUILD2
-rw-r--r--community/dhcp-helper/APKBUILD2
-rw-r--r--community/dsfmt/APKBUILD6
-rw-r--r--community/dvd+rw-tools/APKBUILD2
-rw-r--r--community/dvdauthor/APKBUILD3
-rw-r--r--community/farbfeld/APKBUILD1
-rw-r--r--community/fastjar/APKBUILD4
-rw-r--r--community/fisher/APKBUILD2
-rw-r--r--community/flickcurl/APKBUILD4
-rw-r--r--community/font-bakoma/APKBUILD2
-rw-r--r--community/freeimage/APKBUILD2
-rw-r--r--community/fwsnort/APKBUILD4
-rw-r--r--community/git-crypt/APKBUILD2
-rw-r--r--community/gnome-doc-utils/APKBUILD4
-rw-r--r--community/gource/APKBUILD3
-rw-r--r--community/gwsocket/APKBUILD4
-rw-r--r--community/haxe/APKBUILD6
-rw-r--r--community/homer-api/APKBUILD1
-rw-r--r--community/homer-ui/APKBUILD2
-rw-r--r--community/html-xml-utils/APKBUILD3
-rw-r--r--community/httpry/APKBUILD2
-rw-r--r--community/hyphen/APKBUILD2
-rw-r--r--community/icingaweb2-module-incubator/APKBUILD1
-rw-r--r--community/iotop/APKBUILD2
-rw-r--r--community/iptstate/APKBUILD3
-rw-r--r--community/irrlicht/APKBUILD1
-rw-r--r--community/jattach/APKBUILD1
-rw-r--r--community/java-jansi-native/APKBUILD2
-rw-r--r--community/java-jna/APKBUILD2
-rw-r--r--community/jbig2enc/APKBUILD3
-rw-r--r--community/jpegoptim/APKBUILD2
-rw-r--r--community/kbuild/APKBUILD3
-rw-r--r--community/ldap-passwd-webui/APKBUILD1
-rw-r--r--community/libcmis/APKBUILD2
-rw-r--r--community/libcoro/APKBUILD5
-rw-r--r--community/libharu/APKBUILD3
-rw-r--r--community/libmpack/APKBUILD3
-rw-r--r--community/libopusenc/APKBUILD3
-rw-r--r--community/libquvi-scripts/APKBUILD2
-rw-r--r--community/libqxp/APKBUILD3
-rw-r--r--community/librtas/APKBUILD3
-rw-r--r--community/libsepol/APKBUILD3
-rw-r--r--community/libshairport/APKBUILD3
-rw-r--r--community/libtermkey/APKBUILD6
-rw-r--r--community/libwpd/APKBUILD2
-rw-r--r--community/libwpg/APKBUILD2
-rw-r--r--community/libxscrnsaver/APKBUILD3
-rw-r--r--community/libxxf86dga/APKBUILD2
-rw-r--r--community/libzmf/APKBUILD2
-rw-r--r--community/lua-copas/APKBUILD2
-rw-r--r--community/lua-lpeg_patterns/APKBUILD2
-rw-r--r--community/lua-resty-dns/APKBUILD5
-rw-r--r--community/lua-resty-http/APKBUILD1
-rw-r--r--community/lua-resty-jwt/APKBUILD1
-rw-r--r--community/lua-resty-openidc/APKBUILD1
-rw-r--r--community/lua-resty-string/APKBUILD7
-rw-r--r--community/luasrcdiet/APKBUILD1
-rw-r--r--community/macchanger/APKBUILD3
-rw-r--r--community/mate-icon-theme-faenza/APKBUILD4
-rw-r--r--community/mlocate/APKBUILD1
-rw-r--r--community/moc/APKBUILD3
-rw-r--r--community/monkey/APKBUILD4
-rw-r--r--community/moonscript/APKBUILD5
-rw-r--r--community/mysecureshell/APKBUILD4
-rw-r--r--community/npapi-sdk/APKBUILD2
-rw-r--r--community/numix-themes/APKBUILD2
-rw-r--r--community/omxplayer/APKBUILD2
-rw-r--r--community/opencl-headers/APKBUILD1
-rw-r--r--community/opendkim/APKBUILD3
-rw-r--r--community/opentracker/APKBUILD2
-rw-r--r--community/openzwave/APKBUILD3
-rw-r--r--community/optipng/APKBUILD3
-rw-r--r--community/opus-tools/APKBUILD2
-rw-r--r--community/pdsh/APKBUILD4
-rw-r--r--community/perl-date-simple/APKBUILD3
-rw-r--r--community/perl-encode-eucjpascii/APKBUILD6
-rw-r--r--community/perl-encode-jis2k/APKBUILD6
-rw-r--r--community/perl-function-parameters/APKBUILD4
-rw-r--r--community/perl-http-lite/APKBUILD4
-rw-r--r--community/perl-net-appliance-session/APKBUILD4
-rw-r--r--community/perl-net-cli-interact/APKBUILD4
-rw-r--r--community/perl-sort-key/APKBUILD4
-rw-r--r--community/perl-sys-meminfo/APKBUILD3
-rw-r--r--community/perl-unicode-linebreak/APKBUILD4
-rw-r--r--community/pgbouncer/APKBUILD3
-rw-r--r--community/pgexportdoc/APKBUILD3
-rw-r--r--community/pgimportdoc/APKBUILD3
-rw-r--r--community/pidgin-sipe/APKBUILD1
-rw-r--r--community/portablexdr/APKBUILD3
-rw-r--r--community/portmidi/APKBUILD3
-rw-r--r--community/postgresql-bdr-extension/APKBUILD1
-rw-r--r--community/psad/APKBUILD4
-rw-r--r--community/py3-aiohttp-cors/APKBUILD3
-rw-r--r--community/py3-aiohttp1-cors/APKBUILD3
-rw-r--r--community/py3-aiohttp1/APKBUILD3
-rw-r--r--community/py3-boto/APKBUILD2
-rw-r--r--community/py3-configshell/APKBUILD2
-rw-r--r--community/py3-django-sorl-thumbnail/APKBUILD2
-rw-r--r--community/py3-dockerpty/APKBUILD3
-rw-r--r--community/py3-flask-script/APKBUILD2
-rw-r--r--community/py3-pydispatcher/APKBUILD3
-rw-r--r--community/py3-pysendfile/APKBUILD2
-rw-r--r--community/py3-raven/APKBUILD3
-rw-r--r--community/py3-sgmllib3k/APKBUILD2
-rw-r--r--community/py3-sphinx-autobuild/APKBUILD2
-rw-r--r--community/py3-twitter/APKBUILD2
-rw-r--r--community/qextserialport/APKBUILD2
-rw-r--r--community/qpage/APKBUILD1
-rw-r--r--community/quvi/APKBUILD2
-rw-r--r--community/rcm/APKBUILD2
-rw-r--r--community/rdesktop/APKBUILD3
-rw-r--r--community/redland/APKBUILD2
-rw-r--r--community/redshift/APKBUILD2
-rw-r--r--community/rest-server/APKBUILD4
-rw-r--r--community/retawq/APKBUILD2
-rw-r--r--community/ripmime/APKBUILD3
-rw-r--r--community/ronn/APKBUILD4
-rw-r--r--community/ruby-escape_utils/APKBUILD3
-rw-r--r--community/ruby-hpricot/APKBUILD4
-rw-r--r--community/ruby-rspec-expectations/APKBUILD2
-rw-r--r--community/ruby-rspec/APKBUILD2
-rw-r--r--community/ruby-timecop/APKBUILD2
-rw-r--r--community/rutorrent/APKBUILD2
-rw-r--r--community/scanssh/APKBUILD3
-rw-r--r--community/secpwgen/APKBUILD3
-rw-r--r--community/sent/APKBUILD2
-rw-r--r--community/setxkbmap/APKBUILD2
-rw-r--r--community/sic/APKBUILD2
-rw-r--r--community/sl/APKBUILD2
-rw-r--r--community/sloci-image/APKBUILD2
-rw-r--r--community/socklog/APKBUILD4
-rw-r--r--community/spring-boot-openrc/APKBUILD1
-rw-r--r--community/ssh-ldap-pubkey/APKBUILD3
-rw-r--r--community/sxiv/APKBUILD1
-rw-r--r--community/tango-icon-theme/APKBUILD3
-rw-r--r--community/tclx/APKBUILD2
-rw-r--r--community/thttpd/APKBUILD5
-rw-r--r--community/todo.txt-cli/APKBUILD2
-rw-r--r--community/torsocks/APKBUILD3
-rw-r--r--community/ucl/APKBUILD4
-rw-r--r--community/uidmapshift/APKBUILD2
-rw-r--r--community/vdesk/APKBUILD2
-rw-r--r--community/vigra/APKBUILD2
-rw-r--r--community/vim-editorconfig/APKBUILD1
-rw-r--r--community/wmname/APKBUILD2
-rw-r--r--community/wrk/APKBUILD2
-rw-r--r--community/xbindkeys/APKBUILD2
-rw-r--r--community/xcb-util-image/APKBUILD3
-rw-r--r--community/xcb-util-keysyms/APKBUILD3
-rw-r--r--community/xcb-util-renderutil/APKBUILD3
-rw-r--r--community/xcb-util-wm/APKBUILD3
-rw-r--r--community/xcb-util-xrm/APKBUILD2
-rw-r--r--community/xdesktop/APKBUILD2
-rw-r--r--community/xf86-input-evdev/APKBUILD2
-rw-r--r--community/xf86-input-synaptics/APKBUILD2
-rw-r--r--community/xf86-input-vmmouse/APKBUILD3
-rw-r--r--community/xf86-video-apm/APKBUILD3
-rw-r--r--community/xf86-video-ark/APKBUILD4
-rw-r--r--community/xf86-video-chips/APKBUILD3
-rw-r--r--community/xf86-video-i128/APKBUILD3
-rw-r--r--community/xf86-video-i740/APKBUILD3
-rw-r--r--community/xf86-video-r128/APKBUILD3
-rw-r--r--community/xf86-video-rendition/APKBUILD3
-rw-r--r--community/xf86-video-s3virge/APKBUILD3
-rw-r--r--community/xf86-video-savage/APKBUILD3
-rw-r--r--community/xf86-video-siliconmotion/APKBUILD3
-rw-r--r--community/xf86-video-tdfx/APKBUILD3
-rw-r--r--community/xfce4-vala/APKBUILD3
-rw-r--r--community/xinit/APKBUILD2
-rw-r--r--community/xinput/APKBUILD2
-rw-r--r--community/xkill/APKBUILD2
-rw-r--r--community/xmessage/APKBUILD2
-rw-r--r--community/xmltv/APKBUILD3
-rw-r--r--community/xmodmap/APKBUILD2
-rw-r--r--community/xrandr/APKBUILD3
-rw-r--r--community/yersinia/APKBUILD3
-rw-r--r--community/ykpers/APKBUILD3
193 files changed, 3 insertions, 516 deletions
diff --git a/community/a52dec/APKBUILD b/community/a52dec/APKBUILD
index 5abda8d3d90..e6c25d61be7 100644
--- a/community/a52dec/APKBUILD
+++ b/community/a52dec/APKBUILD
@@ -22,7 +22,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,12 +31,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -m644 liba52/a52_internal.h "$pkgdir"/usr/include/a52dec/
}
diff --git a/community/aircrack-ng/APKBUILD b/community/aircrack-ng/APKBUILD
index 3d741134391..64e7228f4b6 100644
--- a/community/aircrack-ng/APKBUILD
+++ b/community/aircrack-ng/APKBUILD
@@ -19,12 +19,10 @@ builddir="$srcdir"/$pkgname-$_pkgver
prepare() {
default_prepare
- cd "$builddir"
autoreconf -fiv
}
build() {
- cd "$builddir"
CFLAGS="$CFLAGS -fcommon"
./configure \
--build=$CBUILD \
@@ -35,12 +33,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/alpine-make-vm-image/APKBUILD b/community/alpine-make-vm-image/APKBUILD
index 0eba32b7989..f9fc438fc7e 100644
--- a/community/alpine-make-vm-image/APKBUILD
+++ b/community/alpine-make-vm-image/APKBUILD
@@ -12,7 +12,6 @@ source="https://github.com/alpinelinux/$pkgname/archive/v$pkgver/$pkgname-$pkgve
options="!check" # no suitable tests provided
package() {
- cd "$builddir"
make install DESTDIR="$pkgdir" PREFIX=/usr
}
diff --git a/community/aoetools/APKBUILD b/community/aoetools/APKBUILD
index 6d8476077cb..a2d2327c1cb 100644
--- a/community/aoetools/APKBUILD
+++ b/community/aoetools/APKBUILD
@@ -14,12 +14,10 @@ source="https://github.com/OpenAoE/$pkgname/archive/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
build() {
- cd "$builddir"
make || return 1
}
package() {
- cd "$builddir"
make PREFIX="$pkgdir" install || return 1
}
diff --git a/community/aom/APKBUILD b/community/aom/APKBUILD
index e17cf136445..355866b95e7 100644
--- a/community/aom/APKBUILD
+++ b/community/aom/APKBUILD
@@ -59,7 +59,6 @@ package() {
unpack() {
mkdir -p "$builddir"
- cd "$builddir"
tar -xf "$srcdir/$pkgname-$pkgver.tar.gz" \
-C "$builddir" > /dev/null
diff --git a/community/bannergrab/APKBUILD b/community/bannergrab/APKBUILD
index 5fd79cd0bde..b8335c926c5 100644
--- a/community/bannergrab/APKBUILD
+++ b/community/bannergrab/APKBUILD
@@ -12,12 +12,10 @@ subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz"
build() {
- cd "$builddir"
make CFLAGS="-lcrypto -lssl"
}
package() {
- cd "$builddir"
install -m755 -D "$builddir"/$pkgname \
"$pkgdir"/usr/sbin/$pkgname
install -m644 -D "$builddir"/$pkgname.1 \
diff --git a/community/bsm-simple-themes/APKBUILD b/community/bsm-simple-themes/APKBUILD
index 110d3a82d4d..918fb0c3b7b 100644
--- a/community/bsm-simple-themes/APKBUILD
+++ b/community/bsm-simple-themes/APKBUILD
@@ -17,7 +17,6 @@ source="https://distfiles.alpinelinux.org/distfiles/edge/121685-BSM%25252520Simp
builddir="$srcdir"
package() {
- cd "$builddir"
# fix permissions
find . -type d -exec chmod 755 '{}' \;
find . -type f -exec chmod 644 '{}' \;
diff --git a/community/cachefilesd/APKBUILD b/community/cachefilesd/APKBUILD
index f8014539f79..c25070347a3 100644
--- a/community/cachefilesd/APKBUILD
+++ b/community/cachefilesd/APKBUILD
@@ -16,14 +16,12 @@ source="https://people.redhat.com/~dhowells/cachefs/$pkgname-$pkgver.tar
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.c
sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.service
make CFLAGS="$CFLAGS"
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" SBINDIR=/usr/bin install
mkdir -p "$pkgdir"/var/cache/fscache
install -D -m 755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
diff --git a/community/cdrkit/APKBUILD b/community/cdrkit/APKBUILD
index 0d5a6efc116..471a3d13c79 100644
--- a/community/cdrkit/APKBUILD
+++ b/community/cdrkit/APKBUILD
@@ -14,14 +14,12 @@ source="https://dev.alpinelinux.org/archive/cdrkit/cdrkit-$pkgver.tar.gz
gcc10.patch"
prepare() {
- cd "$builddir"
# disable rcmd, it is security risk and not implemented in musl
sed -i include/xconfig.h.in -e "s/#define HAVE_RCMD 1/#undef HAVE_RCMD/g"
default_prepare
}
build() {
- cd "$builddir"
case "$CLIBC" in
musl) export CFLAGS="$CFLAGS -D__THROW=''" ;;
esac
@@ -29,7 +27,6 @@ build() {
}
package() {
- cd "$builddir"
make PREFIX="$pkgdir/usr" install
cd "$pkgdir/usr/bin"
ln -s wodim cdrecord
diff --git a/community/chntpw/APKBUILD b/community/chntpw/APKBUILD
index 0f9072af209..dc29f78457d 100644
--- a/community/chntpw/APKBUILD
+++ b/community/chntpw/APKBUILD
@@ -19,13 +19,11 @@ source="http://pogostick.net/~pnh/ntpasswd/$pkgname-source-$pkgver.zip
"
build() {
- cd "$builddir"
make CC="${CC:-gcc}" CFLAGS="$CFLAGS" \
chntpw cpnt reged
}
package() {
- cd "$builddir"
install -d "$pkgdir"/usr/bin
install chntpw cpnt reged "$pkgdir"/usr/bin/
}
diff --git a/community/clamsmtp/APKBUILD b/community/clamsmtp/APKBUILD
index 04b9e50e5a6..5fafa767161 100644
--- a/community/clamsmtp/APKBUILD
+++ b/community/clamsmtp/APKBUILD
@@ -15,18 +15,15 @@ source="https://deb.debian.org/debian/pool/main/c/clamsmtp/clamsmtp_$pkgver.orig
"
prepare() {
- cd "$builddir"
default_prepare
update_config_sub
}
check() {
- cd "$builddir"
make check
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,7 +35,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
# set default clam address and user
diff --git a/community/cntlm/APKBUILD b/community/cntlm/APKBUILD
index c4457c564d1..5f4252fd146 100644
--- a/community/cntlm/APKBUILD
+++ b/community/cntlm/APKBUILD
@@ -15,7 +15,6 @@ source="https://downloads.sourceforge.net/project/cntlm/cntlm/cntlm%20$pkgver/cn
"
builddir="$srcdir"/cntlm-$pkgver
build() {
- cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -25,7 +24,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
diff --git a/community/copy-router-config/APKBUILD b/community/copy-router-config/APKBUILD
index 80fdfe89b75..d918ed54017 100644
--- a/community/copy-router-config/APKBUILD
+++ b/community/copy-router-config/APKBUILD
@@ -11,13 +11,7 @@ depends="perl perl-cisco-copyconfig"
makedepends=""
source="http://ftp.tku.edu.tw/kali/pool/main/c/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"
-build() {
- cd "$builddir"
- return 0
-}
-
package() {
- cd "$builddir"
for pkg in copy merge; do
install -Dm755 ${pkg}-router-config.pl "$pkgdir"/usr/bin/${pkg}-router-config.pl
done
diff --git a/community/cpptest/APKBUILD b/community/cpptest/APKBUILD
index 02cb946d92e..53f74cc9428 100644
--- a/community/cpptest/APKBUILD
+++ b/community/cpptest/APKBUILD
@@ -11,18 +11,15 @@ subpackages="$pkgname-dev"
source="https://github.com/cpptest/cpptest/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure --prefix=/usr
make
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make install DESTDIR="$pkgdir"
}
diff --git a/community/csync2/APKBUILD b/community/csync2/APKBUILD
index 1f965155b99..abcb1152da8 100644
--- a/community/csync2/APKBUILD
+++ b/community/csync2/APKBUILD
@@ -26,12 +26,10 @@ builddir="$srcdir/$pkgname-$pkgname-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
sh ./autogen.sh
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -43,8 +41,6 @@ build() {
}
package() {
- cd "$builddir"
-
make DESTDIR="$pkgdir" -j1 install
install -m 755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
diff --git a/community/dcadec/APKBUILD b/community/dcadec/APKBUILD
index ff3011f74e6..96188ce9a00 100644
--- a/community/dcadec/APKBUILD
+++ b/community/dcadec/APKBUILD
@@ -15,12 +15,10 @@ source="dcadec-$pkgver.tar.gz::https://github.com/foo86/dcadec/archive/v$pkgver.
builddir="$srcdir"/dcadec-$pkgver
build() {
- cd "$builddir"
make || return 1
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
}
diff --git a/community/detenc/APKBUILD b/community/detenc/APKBUILD
index 24b3e20814d..f20c14654fa 100644
--- a/community/detenc/APKBUILD
+++ b/community/detenc/APKBUILD
@@ -12,12 +12,10 @@ makedepends="ruby-rake ruby-minitest"
source="$pkgname-$pkgver.tar.gz::https://github.com/reevoo/$pkgname/archive/v$pkgver.tar.gz"
check() {
- cd "$builddir"
make check
}
build() {
- cd "$builddir"
make
}
diff --git a/community/dhcp-helper/APKBUILD b/community/dhcp-helper/APKBUILD
index f1e682758a1..40bae148777 100644
--- a/community/dhcp-helper/APKBUILD
+++ b/community/dhcp-helper/APKBUILD
@@ -17,12 +17,10 @@ source="http://www.thekelleys.org.uk/dhcp-helper/dhcp-helper-$pkgver.tar.gz
options="!check"
build() {
- cd "$builddir"
make PREFIX=/usr version="${pkgver}-r${pkgrel}"
}
package() {
- cd "$builddir"
make PREFIX=/usr version="${pkgver}-r${pkgrel}" MANDIR=/usr/share/man DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
diff --git a/community/dsfmt/APKBUILD b/community/dsfmt/APKBUILD
index 1f8376e184f..7ce68134cc0 100644
--- a/community/dsfmt/APKBUILD
+++ b/community/dsfmt/APKBUILD
@@ -20,15 +20,11 @@ builddir="$srcdir/$_pkgname-src-$pkgver"
_soname="lib$_pkgname.so"
prepare() {
- cd "$builddir"
-
sed "s/@VERSION@/$pkgver/" "$srcdir"/$pkgname.pc > $pkgname.pc || return 1
default_prepare
}
build() {
- cd "$builddir"
-
# copied from https://github.com/JuliaLang/julia/blob/master/deps/dsfmt.mk
local cflags="$CFLAGS -DNDEBUG -DDSFMT_MEXP=19937 -DDSFMT_DO_NOT_USE_OLD_NAMES
-fPIC -O3 -finline-functions -fomit-frame-pointer
@@ -43,8 +39,6 @@ build() {
}
package() {
- cd "$builddir"
-
install -D $_soname "$pkgdir"/usr/lib/$_soname || return 1
install -D dSFMT.h "$pkgdir"/usr/include/dSFMT.h || return 1
install -D $pkgname.pc "$pkgdir"/usr/lib/pkgconfig/$pkgname.pc
diff --git a/community/dvd+rw-tools/APKBUILD b/community/dvd+rw-tools/APKBUILD
index a4f2b0461d1..1b95abd4876 100644
--- a/community/dvd+rw-tools/APKBUILD
+++ b/community/dvd+rw-tools/APKBUILD
@@ -18,12 +18,10 @@ source="http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${pkgname}-${pkgver}.tar
builddir=$srcdir/${pkgname}-${pkgver}
build() {
- cd "$builddir"
make
}
package() {
- cd "$builddir"
install -m755 -d "${pkgdir}/usr/bin"
install -m755 -d "${pkgdir}/usr/share/man/man1"
install -m755 growisofs dvd+rw-booktype dvd+rw-format \
diff --git a/community/dvdauthor/APKBUILD b/community/dvdauthor/APKBUILD
index df54973aff1..e5315d4ddc8 100644
--- a/community/dvdauthor/APKBUILD
+++ b/community/dvdauthor/APKBUILD
@@ -14,12 +14,10 @@ source="https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
builddir="$srcdir/$pkgname"
check() {
- cd "$builddir"
make check
}
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -29,7 +27,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="${pkgdir}" install
}
diff --git a/community/farbfeld/APKBUILD b/community/farbfeld/APKBUILD
index d80ec9d637a..1c8742e20b8 100644
--- a/community/farbfeld/APKBUILD
+++ b/community/farbfeld/APKBUILD
@@ -27,7 +27,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
diff --git a/community/fastjar/APKBUILD b/community/fastjar/APKBUILD
index fb52120439b..351ec8720e2 100644
--- a/community/fastjar/APKBUILD
+++ b/community/fastjar/APKBUILD
@@ -17,13 +17,11 @@ source="https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar
"
prepare() {
- cd "$builddir"
update_config_sub
default_prepare
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -36,12 +34,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/lib/charset.alias
rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true
diff --git a/community/fisher/APKBUILD b/community/fisher/APKBUILD
index 00afb263271..b07468980e6 100644
--- a/community/fisher/APKBUILD
+++ b/community/fisher/APKBUILD
@@ -30,8 +30,6 @@ build() {
}
package() {
- cd "$builddir"
-
install -m 755 -D target/release/fisher "$pkgdir"/usr/bin/fisher
install -m 644 -D config-example.toml "$pkgdir"/etc/fisher/config.toml
diff --git a/community/flickcurl/APKBUILD b/community/flickcurl/APKBUILD
index b15712ad9ed..c7204d47936 100644
--- a/community/flickcurl/APKBUILD
+++ b/community/flickcurl/APKBUILD
@@ -11,25 +11,21 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://download.dajobe.org/flickcurl/flickcurl-$pkgver.tar.gz"
prepare() {
- cd "$builddir"
update_config_guess
update_config_sub
default_prepare
}
build() {
- cd "$builddir"
./configure --prefix /usr
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/font-bakoma/APKBUILD b/community/font-bakoma/APKBUILD
index 9c003c1f591..54a451571f8 100644
--- a/community/font-bakoma/APKBUILD
+++ b/community/font-bakoma/APKBUILD
@@ -16,8 +16,6 @@ options="!check" # fonts don't have tests
_fontsdir="usr/share/fonts/bakoma"
package() {
- cd "$builddir"
-
install -D -m 644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
diff --git a/community/freeimage/APKBUILD b/community/freeimage/APKBUILD
index e1f583a46cd..f097c54ac12 100644
--- a/community/freeimage/APKBUILD
+++ b/community/freeimage/APKBUILD
@@ -31,7 +31,6 @@ prepare() {
}
build() {
- cd "$builddir"
case "$CARCH" in
aarch64) export CFLAGS="$CFLAGS -DPNG_ARM_NEON_OPT=0";;
ppc64le) export CFLAGS="$CFLAGS -U__ALTIVEC__";;
@@ -40,7 +39,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="${pkgdir}" install
}
sha512sums="9d9cc7e2d57552c3115e277aeb036e0455204d389026b17a3f513da5be1fd595421655488bb1ec2f76faebed66049119ca55e26e2a6d37024b3fb7ef36ad4818 FreeImage3180.zip
diff --git a/community/fwsnort/APKBUILD b/community/fwsnort/APKBUILD
index cde99f87063..74bfe8b5f50 100644
--- a/community/fwsnort/APKBUILD
+++ b/community/fwsnort/APKBUILD
@@ -16,8 +16,6 @@ source="http://www.cipherdyne.org/$pkgname/download/$pkgname-nodeps-$pkgver.tar.
periodic.daily"
build() {
- cd "$builddir"
-
# Disable Root requirement to build.
local start=$(sed -n '/die "You need to be root (or equivalent UID 0"/=' ./install.pl)
local end=$(expr $start + 1)
@@ -37,8 +35,6 @@ build() {
}
package() {
- cd "$builddir"
-
mkdir -p "$pkgdir"/etc "$pkgdir"/usr
cp -rf test/fwsnort-install/* "$pkgdir"/
cp -f fwsnort.conf "$pkgdir"/etc/fwsnort/fwsnort.conf
diff --git a/community/git-crypt/APKBUILD b/community/git-crypt/APKBUILD
index c5a0705bbb7..96d5fbf657d 100644
--- a/community/git-crypt/APKBUILD
+++ b/community/git-crypt/APKBUILD
@@ -18,12 +18,10 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/AGWA/$pkgname/archive/$pkgve
"
build() {
- cd "$builddir"
make
}
package() {
- cd "$builddir"
make PREFIX="/usr" DESTDIR="$pkgdir" ENABLE_MAN=yes install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
diff --git a/community/gnome-doc-utils/APKBUILD b/community/gnome-doc-utils/APKBUILD
index 6cfc83beada..1661331192e 100644
--- a/community/gnome-doc-utils/APKBUILD
+++ b/community/gnome-doc-utils/APKBUILD
@@ -16,13 +16,11 @@ source="https://download.gnome.org/sources/gnome-doc-utils/${pkgver%.*}/gnome-do
prepare() {
- cd "$builddir"
default_prepare
update_config_sub
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -37,12 +35,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="1cb5e3b9ca9e45e6c551801e9c9c4aac725c2ce85238c230a4c70b36c90419886b921d8dd464df0643fc3bbb877df075abaa83a36d1609c5664960c31e11d151 gnome-doc-utils-0.20.10.tar.xz
diff --git a/community/gource/APKBUILD b/community/gource/APKBUILD
index c114d9958bf..c4a10fd9d14 100644
--- a/community/gource/APKBUILD
+++ b/community/gource/APKBUILD
@@ -14,18 +14,15 @@ source="https://github.com/acaudwell/Gource/releases/download/$pkgname-$pkgver/$
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
./configure --prefix=/usr
make
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/gwsocket/APKBUILD b/community/gwsocket/APKBUILD
index 4d6280bbfda..962370f6367 100644
--- a/community/gwsocket/APKBUILD
+++ b/community/gwsocket/APKBUILD
@@ -14,12 +14,10 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/allinurl/$pkgname/archive/v$
prepare() {
default_prepare
- cd "$builddir"
autoreconf -fiv
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -31,12 +29,10 @@ build() {
}
check() {
- cd "$builddir"
./gwsocket --version > /dev/null
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/haxe/APKBUILD b/community/haxe/APKBUILD
index 1b89c331970..4cd5eb36aa6 100644
--- a/community/haxe/APKBUILD
+++ b/community/haxe/APKBUILD
@@ -24,8 +24,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/HaxeFoundation/haxe/archive/
builddir="$srcdir/$pkgname-$pkgver$_versuffix"
build() {
- cd "$builddir"
-
rmdir libs extra/haxelib_src
mv "$srcdir"/haxelib-$_haxelib_rev extra/haxelib_src
mv "$srcdir"/ocamllibs-$_ocamllibs_rev libs
@@ -41,15 +39,11 @@ build() {
}
check() {
- cd "$builddir"
-
./haxe -version
./haxelib version
}
package() {
- cd "$builddir"
-
install -d "$pkgdir"/usr/bin/ "$pkgdir"/usr/share/haxe/
install -m 755 haxe haxelib "$pkgdir"/usr/bin/
cp -rf std "$pkgdir"/usr/share/$pkgname/
diff --git a/community/homer-api/APKBUILD b/community/homer-api/APKBUILD
index 09149c4879e..a34a92f399d 100644
--- a/community/homer-api/APKBUILD
+++ b/community/homer-api/APKBUILD
@@ -24,7 +24,6 @@ build() {
}
package() {
- cd "$builddir"
local file
local appdir=$pkgdir/usr/share/webapps/homer
diff --git a/community/homer-ui/APKBUILD b/community/homer-ui/APKBUILD
index 32e03e2f12a..0a15cce0fbc 100644
--- a/community/homer-ui/APKBUILD
+++ b/community/homer-ui/APKBUILD
@@ -22,12 +22,10 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/homer-ui/archive/
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
return 0
}
package() {
- cd "$builddir"
mkdir -p "$pkgdir"/usr/share/webapps/homer "$pkgdir"/etc/homer
mv "$builddir"/* "$pkgdir"/usr/share/webapps/homer
chown -R :www-data "$pkgdir"/usr/share/webapps/homer/store/dashboard
diff --git a/community/html-xml-utils/APKBUILD b/community/html-xml-utils/APKBUILD
index e6fbe2a47bd..b6196eaf1b1 100644
--- a/community/html-xml-utils/APKBUILD
+++ b/community/html-xml-utils/APKBUILD
@@ -21,7 +21,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--disable-dependency-tracking
@@ -29,12 +28,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make install DESTDIR="$pkgdir"
install -D -m 644 COPYING \
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
diff --git a/community/httpry/APKBUILD b/community/httpry/APKBUILD
index 555f91b9db5..31af8e7faa2 100644
--- a/community/httpry/APKBUILD
+++ b/community/httpry/APKBUILD
@@ -14,12 +14,10 @@ source="https://github.com/jbittel/httpry/archive/httpry-0.1.8.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
build() {
- cd "$builddir"
make || return 1
}
package() {
- cd "$builddir"
install -m755 -D "$builddir"/$pkgname \
"$pkgdir"/usr/sbin/$pkgname || return 1
install -m644 -D "$builddir"/$pkgname.1 \
diff --git a/community/hyphen/APKBUILD b/community/hyphen/APKBUILD
index c91242d87f1..c411838ad38 100644
--- a/community/hyphen/APKBUILD
+++ b/community/hyphen/APKBUILD
@@ -22,7 +22,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,7 +33,6 @@ build() {
}
package() {
- cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
diff --git a/community/icingaweb2-module-incubator/APKBUILD b/community/icingaweb2-module-incubator/APKBUILD
index 5c4bf0e61aa..7e1c1df2f82 100644
--- a/community/icingaweb2-module-incubator/APKBUILD
+++ b/community/icingaweb2-module-incubator/APKBUILD
@@ -20,7 +20,6 @@ build() {
}
package() {
- cd "$builddir"
mkdir -p "$pkgdir/etc/icingaweb2/modules/$_module"
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
mkdir -p "$pkgdir/usr/share/webapps/icingaweb2/modules/$_module"
diff --git a/community/iotop/APKBUILD b/community/iotop/APKBUILD
index 064ab9bf9ef..1f9b039c564 100644
--- a/community/iotop/APKBUILD
+++ b/community/iotop/APKBUILD
@@ -20,12 +20,10 @@ source="$pkgname-$pkgver-$_commit.tar.gz::https://repo.or.cz/iotop.git/snapshot/
builddir="$srcdir"/iotop-$_commit
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/community/iptstate/APKBUILD b/community/iptstate/APKBUILD
index 1d14c8dac73..51de2aadc06 100644
--- a/community/iptstate/APKBUILD
+++ b/community/iptstate/APKBUILD
@@ -12,17 +12,14 @@ subpackages="$pkgname-doc"
source="https://github.com/jaymzh/iptstate/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"
build() {
- cd "$builddir"
make
}
check() {
- cd "$builddir"
./iptstate --help > /dev/null
}
package() {
- cd "$builddir"
install -D -m755 $pkgname "$pkgdir"/usr/sbin/$pkgname
install -D -m444 $pkgname.8 "$pkgdir"/usr/share/man/man8/$pkgname.8
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
diff --git a/community/irrlicht/APKBUILD b/community/irrlicht/APKBUILD
index e3f30f68ead..67382ceca50 100644
--- a/community/irrlicht/APKBUILD
+++ b/community/irrlicht/APKBUILD
@@ -21,7 +21,6 @@ source="https://downloads.sourceforge.net/irrlicht/irrlicht-$pkgver.zip
builddir="$srcdir"/$pkgname-$pkgver/
prepare() {
default_prepare
- cd "$builddir"
# use system libs
rm -r \
source/Irrlicht/jpeglib \
diff --git a/community/jattach/APKBUILD b/community/jattach/APKBUILD
index 21a5de59f05..7bbe9f6cd8e 100644
--- a/community/jattach/APKBUILD
+++ b/community/jattach/APKBUILD
@@ -11,7 +11,6 @@ options="!check" # upstream doesn't have a test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/apangin/$pkgname/archive/v$pkgver.tar.gz"
build() {
- cd "$builddir"
make
}
diff --git a/community/java-jansi-native/APKBUILD b/community/java-jansi-native/APKBUILD
index 2a1914858b3..ad35fcce1bb 100644
--- a/community/java-jansi-native/APKBUILD
+++ b/community/java-jansi-native/APKBUILD
@@ -14,8 +14,6 @@ source="https://github.com/fusesource/$_pkgname/archive/$_pkgname-$pkgver.tar.gz
builddir="$srcdir/$_pkgname-$_pkgname-$pkgver"
build() {
- cd "$builddir"
-
# We need to use newer version of hawtjni plugin, otherwise compilation
# of native sources fails.
JAVA_HOME=/usr/lib/jvm/default-jvm \
diff --git a/community/java-jna/APKBUILD b/community/java-jna/APKBUILD
index be6f8e0e006..caf8c2bf269 100644
--- a/community/java-jna/APKBUILD
+++ b/community/java-jna/APKBUILD
@@ -21,8 +21,6 @@ builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
-
# Disable Java AWT support (requires some X libs).
sed -i -E "s/^(CDEFINES=.*)$/\1 -DNO_JAWT/g" native/Makefile
diff --git a/community/jbig2enc/APKBUILD b/community/jbig2enc/APKBUILD
index ea228c9aa88..e1fe680e3e2 100644
--- a/community/jbig2enc/APKBUILD
+++ b/community/jbig2enc/APKBUILD
@@ -24,7 +24,6 @@ source="jbig2enc-$pkgver.tar.gz::https://github.com/agl/jbig2enc/archive/$pkgver
builddir="$srcdir/jbig2enc-$pkgver"
build() {
- cd "$builddir"
./autogen.sh
./configure \
--build=$CBUILD \
@@ -37,12 +36,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/jpegoptim/APKBUILD b/community/jpegoptim/APKBUILD
index c30dd912145..af6a9e966dd 100644
--- a/community/jpegoptim/APKBUILD
+++ b/community/jpegoptim/APKBUILD
@@ -20,7 +20,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -31,7 +30,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/kbuild/APKBUILD b/community/kbuild/APKBUILD
index 49ca7812a2c..51a2db6d094 100644
--- a/community/kbuild/APKBUILD
+++ b/community/kbuild/APKBUILD
@@ -29,7 +29,6 @@ prepare() {
update_config_sub
default_prepare
local i
- cd "$builddir"
# Add a file with the svn revision this package was pulled from
printf '%s\n' "KBUILD_SVN_REV := ${pkgver##*.}" > SvnInfo.kmk
@@ -53,12 +52,10 @@ prepare() {
}
build() {
- cd "$builddir"
kBuild/env.sh --full make -f bootstrap.gmk AUTORECONF=true
}
package() {
- cd "$builddir"
kBuild/env.sh kmk NIX_INSTALL_DIR=/usr PATH_INS="$pkgdir" install
}
diff --git a/community/ldap-passwd-webui/APKBUILD b/community/ldap-passwd-webui/APKBUILD
index 5b3f42f9366..47f5eb1a79d 100644
--- a/community/ldap-passwd-webui/APKBUILD
+++ b/community/ldap-passwd-webui/APKBUILD
@@ -17,7 +17,6 @@ options="!check"
package() {
local destdir="$pkgdir/usr/share/webapps/$pkgname"
- cd "$builddir"
mkdir -p "$destdir"
cp -r static app.py index.tpl "$destdir"/
diff --git a/community/libcmis/APKBUILD b/community/libcmis/APKBUILD
index 8a71ec8a48f..43116e3a922 100644
--- a/community/libcmis/APKBUILD
+++ b/community/libcmis/APKBUILD
@@ -18,7 +18,6 @@ source="https://github.com/tdf/$pkgname/releases/download/v$pkgver/$pkgname-$pkg
builddir="$srcdir"/libcmis-$pkgver
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,7 +33,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
diff --git a/community/libcoro/APKBUILD b/community/libcoro/APKBUILD
index f9773c62d7b..823df938936 100644
--- a/community/libcoro/APKBUILD
+++ b/community/libcoro/APKBUILD
@@ -39,8 +39,6 @@ prepare() {
}
build() {
- cd "$builddir"
-
CFLAGS="-fPIC -pedantic -Wall"
case "$CARCH" in
x86*) CFLAGS="$CFLAGS -DCORO_ASM";;
@@ -61,13 +59,10 @@ build() {
}
check() {
- cd "$builddir"
LD_LIBRARY_PATH=. ./test
}
package() {
- cd "$builddir"
-
local abiver=$(sed -En 's/#define\s*CORO_VERSION\s*(\d+)/\1/p' coro.h)
local soname="libcoro.so.$abiver"
diff --git a/community/libharu/APKBUILD b/community/libharu/APKBUILD
index 8aba0990df8..367162b74ff 100644
--- a/community/libharu/APKBUILD
+++ b/community/libharu/APKBUILD
@@ -16,7 +16,6 @@ source="https://github.com/libharu/libharu/archive/RELEASE_${pkgver//./_}.tar.gz
builddir="$srcdir"/$pkgname-RELEASE_${pkgver//./_}
prepare() {
- cd "$builddir"
touch include/config.h.in
aclocal
libtoolize
@@ -25,13 +24,11 @@ prepare() {
}
build() {
- cd "$builddir"
./configure --prefix=/usr
make || return 1
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir/" install
install -d "$pkgdir/usr/share/licenses/$pkgname"
sed -n '102,120p' README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
diff --git a/community/libmpack/APKBUILD b/community/libmpack/APKBUILD
index 475c2dfe0ce..0d02289e327 100644
--- a/community/libmpack/APKBUILD
+++ b/community/libmpack/APKBUILD
@@ -12,13 +12,11 @@ subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/libmpack/$pkgname/archive/$pkgver.tar.gz"
build() {
- cd "$builddir"
make
}
check() {
local out
- cd "$builddir"
# Tests prints thousands lines, so print only last few when fails.
out=$(make test) || {
@@ -29,7 +27,6 @@ check() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install
}
diff --git a/community/libopusenc/APKBUILD b/community/libopusenc/APKBUILD
index b7be400ce3d..7fa53a00fef 100644
--- a/community/libopusenc/APKBUILD
+++ b/community/libopusenc/APKBUILD
@@ -13,7 +13,6 @@ source="https://archive.mozilla.org/pub/opus/libopusenc-$pkgver.tar.gz"
builddir="$srcdir/"$pkgname-$pkgver
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/community/libquvi-scripts/APKBUILD b/community/libquvi-scripts/APKBUILD
index a823a567493..f17087025a1 100644
--- a/community/libquvi-scripts/APKBUILD
+++ b/community/libquvi-scripts/APKBUILD
@@ -17,14 +17,12 @@ prepare() {
}
build() {
- cd "$builddir"
./configure --prefix=/usr \
|| return 1
make || return 1
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
diff --git a/community/libqxp/APKBUILD b/community/libqxp/APKBUILD
index 2e2aab1dc5c..664454b4653 100644
--- a/community/libqxp/APKBUILD
+++ b/community/libqxp/APKBUILD
@@ -12,7 +12,6 @@ source="https://dev-www.libreoffice.org/src/libqxp/libqxp-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -21,12 +20,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/librtas/APKBUILD b/community/librtas/APKBUILD
index 2a49651b9bf..3186dc874d8 100644
--- a/community/librtas/APKBUILD
+++ b/community/librtas/APKBUILD
@@ -14,12 +14,10 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/nfont/$pkgname/archive/v$pkg
prepare() {
default_prepare
- cd "$builddir"
./autogen.sh
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,7 +26,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/libsepol/APKBUILD b/community/libsepol/APKBUILD
index c82e216fff0..6280d124acd 100644
--- a/community/libsepol/APKBUILD
+++ b/community/libsepol/APKBUILD
@@ -15,19 +15,16 @@ source="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/rele
builddir="$srcdir/libsepol-$pkgver"
build() {
- cd "$builddir"
# More than a hundred multiple definitions
CFLAGS="$CFLAGS -fcommon" \
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
check() {
- cd "$builddir"
make test
}
diff --git a/community/libshairport/APKBUILD b/community/libshairport/APKBUILD
index 78dfd6d4aa3..58aa298d66f 100644
--- a/community/libshairport/APKBUILD
+++ b/community/libshairport/APKBUILD
@@ -22,7 +22,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,12 +34,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/libtermkey/APKBUILD b/community/libtermkey/APKBUILD
index 672ea9a2ab1..1b90fdae3ac 100644
--- a/community/libtermkey/APKBUILD
+++ b/community/libtermkey/APKBUILD
@@ -15,20 +15,14 @@ source="http://www.leonerd.org.uk/code/libtermkey/$pkgname-$pkgver.tar.gz
build-static-lib.patch"
build() {
- cd "$builddir"
-
make PREFIX=/usr
}
check() {
- cd "$builddir"
-
make test
}
package() {
- cd "$builddir"
-
make PREFIX=/usr DESTDIR="$pkgdir" install
}
diff --git a/community/libwpd/APKBUILD b/community/libwpd/APKBUILD
index 50a8dacec0f..240528a4fb4 100644
--- a/community/libwpd/APKBUILD
+++ b/community/libwpd/APKBUILD
@@ -20,7 +20,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,7 +32,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/libwpg/APKBUILD b/community/libwpg/APKBUILD
index b7a96afefa9..037ee69b29a 100644
--- a/community/libwpg/APKBUILD
+++ b/community/libwpg/APKBUILD
@@ -20,7 +20,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,7 +32,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/libxscrnsaver/APKBUILD b/community/libxscrnsaver/APKBUILD
index f365b83c7e4..59659f2c379 100644
--- a/community/libxscrnsaver/APKBUILD
+++ b/community/libxscrnsaver/APKBUILD
@@ -13,7 +13,6 @@ source="https://www.x.org/releases/individual/lib/libXScrnSaver-$pkgver.tar.bz2"
builddir="$srcdir"/libXScrnSaver-$pkgver
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -27,12 +26,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/libxxf86dga/APKBUILD b/community/libxxf86dga/APKBUILD
index 8a4aa78174c..9d16dae4d21 100644
--- a/community/libxxf86dga/APKBUILD
+++ b/community/libxxf86dga/APKBUILD
@@ -14,7 +14,6 @@ source="https://www.x.org/releases/individual/lib/libXxf86dga-$pkgver.tar.bz2"
builddir="$srcdir"/libXxf86dga-$pkgver
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -23,7 +22,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/libzmf/APKBUILD b/community/libzmf/APKBUILD
index bfac17e6a6b..0300f4e4172 100644
--- a/community/libzmf/APKBUILD
+++ b/community/libzmf/APKBUILD
@@ -21,7 +21,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,7 +33,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/lua-copas/APKBUILD b/community/lua-copas/APKBUILD
index b8582349c9c..c7d4f0486f9 100644
--- a/community/lua-copas/APKBUILD
+++ b/community/lua-copas/APKBUILD
@@ -26,8 +26,6 @@ for _v in $_luaversions; do
done
check() {
- cd "$builddir"
-
# tests keep running indefinitely
case "$CARCH" in armv7) return 0;; esac
diff --git a/community/lua-lpeg_patterns/APKBUILD b/community/lua-lpeg_patterns/APKBUILD
index cf62db792c7..f22080e2277 100644
--- a/community/lua-lpeg_patterns/APKBUILD
+++ b/community/lua-lpeg_patterns/APKBUILD
@@ -21,8 +21,6 @@ for _v in $_luaversions; do
done
check() {
- cd "$builddir"
-
local lver; for lver in $_luaversions; do
msg "Testing on lua$lver"
lua$lver /usr/bin/busted
diff --git a/community/lua-resty-dns/APKBUILD b/community/lua-resty-dns/APKBUILD
index 3f3e3f489db..412d9d2fd62 100644
--- a/community/lua-resty-dns/APKBUILD
+++ b/community/lua-resty-dns/APKBUILD
@@ -21,12 +21,7 @@ for _v in $_luaversions; do
subpackages="$subpackages lua${_v}-resty-dns:split_${_v/./_}"
done
-build() {
- cd "$builddir"
-}
-
package() {
- cd "$builddir"
local _i
for _i in $_luaversions; do
mkdir -p "$pkgdir"/usr/share/lua/$_i
diff --git a/community/lua-resty-http/APKBUILD b/community/lua-resty-http/APKBUILD
index 486ad2575a6..7939364dc96 100644
--- a/community/lua-resty-http/APKBUILD
+++ b/community/lua-resty-http/APKBUILD
@@ -17,7 +17,6 @@ for _v in 5.1 5.2 5.3; do
done
package() {
- cd "$builddir"
make install DESTDIR="$pkgdir" LUA_LIB_DIR="/usr/share/lua/common"
echo 'rock_manifest = {}' > rock_manifest
diff --git a/community/lua-resty-jwt/APKBUILD b/community/lua-resty-jwt/APKBUILD
index 19ff4550217..32b12a880aa 100644
--- a/community/lua-resty-jwt/APKBUILD
+++ b/community/lua-resty-jwt/APKBUILD
@@ -13,7 +13,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/cdbattags/$pkgname/archive/v
options="!check"
package() {
- cd "$builddir"
mkdir -p "$pkgdir/usr/share/lua/common"
cp -r ./lib/resty "$pkgdir/usr/share/lua/common"
}
diff --git a/community/lua-resty-openidc/APKBUILD b/community/lua-resty-openidc/APKBUILD
index 8b5b1eded9e..50d9bba33e6 100644
--- a/community/lua-resty-openidc/APKBUILD
+++ b/community/lua-resty-openidc/APKBUILD
@@ -13,7 +13,6 @@ depends="lua-cjson lua-resty-string lua-resty-http lua-resty-session lua-resty-j
options="!check"
package() {
- cd "$builddir"
mkdir -p "$pkgdir/usr/share/lua/common"
cp -r ./lib/resty "$pkgdir/usr/share/lua/common"
}
diff --git a/community/lua-resty-string/APKBUILD b/community/lua-resty-string/APKBUILD
index 8b78b3bf862..63c5f6d450e 100644
--- a/community/lua-resty-string/APKBUILD
+++ b/community/lua-resty-string/APKBUILD
@@ -11,16 +11,11 @@ license="BSD-2-Clause"
depends="nginx-mod-http-lua"
checkdepends="perl-utils perl-test-nginx"
source="$pkgname-$pkgver.tar.gz::https://github.com/openresty/$pkgname/archive/v$pkgver.tar.gz"
+options="!check"
package() {
- cd "$builddir"
mkdir -p "$pkgdir"/usr/share/lua/common
make DESTDIR="$pkgdir" LUA_LIB_DIR="/usr/share/lua/common" install
}
-check() {
- cd "$builddir"
- #make test LUA_LIB_DIR="$builddir/tmp"
-}
-
sha512sums="f1357f5c93a1f0d32f358df2b162e3a2c605cc57ad4e72dd0fdb6a2409f678aa8100f4977d37c717121f629dafb59ab5786982e806f165974f514c34289d92da lua-resty-string-0.11.tar.gz"
diff --git a/community/luasrcdiet/APKBUILD b/community/luasrcdiet/APKBUILD
index 6625574d868..d807a56c519 100644
--- a/community/luasrcdiet/APKBUILD
+++ b/community/luasrcdiet/APKBUILD
@@ -18,7 +18,6 @@ for _v in $_luaversions; do
done
package() {
- cd "$builddir"
install -D -m 755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
}
diff --git a/community/macchanger/APKBUILD b/community/macchanger/APKBUILD
index 48470abf22b..52331c6afce 100644
--- a/community/macchanger/APKBUILD
+++ b/community/macchanger/APKBUILD
@@ -14,7 +14,6 @@ source="https://github.com/alobbs/macchanger/releases/download/$pkgver/$pkgname-
fix-caddr_t.patch"
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -25,12 +24,10 @@ build() {
}
check() {
- cd "$builddir"
./src/macchanger --help > /dev/null
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/mate-icon-theme-faenza/APKBUILD b/community/mate-icon-theme-faenza/APKBUILD
index 2790ff60691..9baf07c8e9c 100644
--- a/community/mate-icon-theme-faenza/APKBUILD
+++ b/community/mate-icon-theme-faenza/APKBUILD
@@ -12,13 +12,11 @@ makedepends="icon-naming-utils intltool autoconf automake coreutils"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
prepare() {
- cd "$builddir"
default_prepare
NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd "$builddir"
DATADIRNAME=share ./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,12 +26,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="${pkgdir}" install
}
diff --git a/community/mlocate/APKBUILD b/community/mlocate/APKBUILD
index bc4d0e39d6b..a1cee59d08d 100644
--- a/community/mlocate/APKBUILD
+++ b/community/mlocate/APKBUILD
@@ -40,7 +40,6 @@ build() {
}
check() {
- cd "$builddir"
make check
}
diff --git a/community/moc/APKBUILD b/community/moc/APKBUILD
index dd6ad0fa447..becd67691d2 100644
--- a/community/moc/APKBUILD
+++ b/community/moc/APKBUILD
@@ -23,7 +23,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -50,12 +49,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="${pkgdir}" install
}
diff --git a/community/monkey/APKBUILD b/community/monkey/APKBUILD
index 87417f79f5c..75730636ff5 100644
--- a/community/monkey/APKBUILD
+++ b/community/monkey/APKBUILD
@@ -15,8 +15,6 @@ source="https://fossies.org/linux/www/monkey-$pkgver.tar.gz"
#source="http://monkey-project.com/releases/1.6/$pkgname-$pkgver.tar.gz"
build() {
- cd "$builddir"
-
export CFLAGS="$CFLAGS -fcommon"
./configure \
@@ -37,13 +35,11 @@ build() {
}
check() {
- cd "$builddir"
./build/mk_bin/monkey --help > /dev/null
./build/plugins/auth/tools/mk_passwd --help > /dev/null
}
package() {
- cd "$builddir"
make DESTDIR=$pkgdir install
install -Dm 755 "$builddir/monkey.init" "$pkgdir/etc/init.d/banana"
}
diff --git a/community/moonscript/APKBUILD b/community/moonscript/APKBUILD
index b6304947a31..537427dab8e 100644
--- a/community/moonscript/APKBUILD
+++ b/community/moonscript/APKBUILD
@@ -22,7 +22,6 @@ done
prepare() {
default_prepare
- cd "$builddir"
local lver; for lver in $_luaversions; do
local name; for name in moon moonc; do
sed "s|^#!/usr/bin/env lua|#!/usr/bin/lua$lver|" \
@@ -32,8 +31,6 @@ prepare() {
}
check() {
- cd "$builddir"
-
local lver; for lver in $_luaversions; do
msg "Testing on lua$lver"
lua$lver /usr/bin/busted
@@ -41,8 +38,6 @@ check() {
}
package() {
- cd "$builddir"
-
local name; for name in moon moonc; do
install -D -m 755 bin/$name "$pkgdir"/usr/bin/$name
done
diff --git a/community/mysecureshell/APKBUILD b/community/mysecureshell/APKBUILD
index c9bc284b929..d70fbeb9640 100644
--- a/community/mysecureshell/APKBUILD
+++ b/community/mysecureshell/APKBUILD
@@ -16,8 +16,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$
"
build() {
- cd "$builddir"
-
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -31,8 +29,6 @@ build() {
}
package() {
- cd "$builddir"
-
make DESTDIR="$pkgdir" install
}
diff --git a/community/npapi-sdk/APKBUILD b/community/npapi-sdk/APKBUILD
index 95d7530419e..ec07730849d 100644
--- a/community/npapi-sdk/APKBUILD
+++ b/community/npapi-sdk/APKBUILD
@@ -9,7 +9,6 @@ license="MPL"
source="https://github.com/mgorny/$pkgname/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -22,7 +21,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/numix-themes/APKBUILD b/community/numix-themes/APKBUILD
index 3b507df1bd8..29ef185b42e 100644
--- a/community/numix-themes/APKBUILD
+++ b/community/numix-themes/APKBUILD
@@ -14,7 +14,6 @@ source="numix-$pkgver.tar.gz::https://github.com/numixproject/$_pkgname/archive/
builddir="$srcdir/$_pkgname-$pkgver/src"
build() {
- cd "$builddir"
# Remove Unity theme
rm -f gtk-3.0/apps/unity.css
sed -i '/unity\.css/d' gtk-3.0/gtk.css
@@ -22,7 +21,6 @@ build() {
}
package() {
- cd "$builddir"
mkdir -p "$pkgdir"/usr/share/themes/Numix
cp -pr ../* "$pkgdir"/usr/share/themes/Numix
mv index.theme "$pkgdir"/usr/share/themes/Numix
diff --git a/community/omxplayer/APKBUILD b/community/omxplayer/APKBUILD
index e24816f1634..372b2d79b7d 100644
--- a/community/omxplayer/APKBUILD
+++ b/community/omxplayer/APKBUILD
@@ -26,7 +26,6 @@ source="omxplayer-$pkgver.tar.gz::https://github.com/popcornmix/omxplayer/archiv
builddir="$srcdir"/$pkgname-$_commitid
build() {
- cd "$builddir"
cat <<EOF > Makefile.include
INCLUDES:=-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux
INCLUDES+=$(pkg-config --cflags freetype2 dbus-1)
@@ -38,7 +37,6 @@ EOF
}
package() {
- cd "$builddir"
mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/doc/omxplayer
cp omxplayer.bin $pkgdir/usr/bin/omxplayer
cp COPYING $pkgdir/usr/share/doc/omxplayer
diff --git a/community/opencl-headers/APKBUILD b/community/opencl-headers/APKBUILD
index 8e6ae1c634d..b4712da105e 100644
--- a/community/opencl-headers/APKBUILD
+++ b/community/opencl-headers/APKBUILD
@@ -24,7 +24,6 @@ build() {
}
package() {
- cd "$builddir"
mkdir -p "$pkgdir"/usr/include/CL \
"$pkgdir"/usr/share/doc/$pkgname
diff --git a/community/opendkim/APKBUILD b/community/opendkim/APKBUILD
index 05805f99d2b..b9fa2a84240 100644
--- a/community/opendkim/APKBUILD
+++ b/community/opendkim/APKBUILD
@@ -25,13 +25,11 @@ builddir="$srcdir/OpenDKIM-$pkgver-$subrel"
# - CVE-2020-35766
prepare() {
- cd "$builddir"
default_prepare
autoreconf -vif
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -41,7 +39,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -d "$pkgdir"/etc/$pkgname
install -dm750 -g mail "$pkgdir"/var/db/dkim
diff --git a/community/opentracker/APKBUILD b/community/opentracker/APKBUILD
index 57cda55f9f5..1e968b5d202 100644
--- a/community/opentracker/APKBUILD
+++ b/community/opentracker/APKBUILD
@@ -19,14 +19,12 @@ prepare() {
}
build() {
- cd "$builddir"
PREFIX=/usr/include make
cd "$builddir"6
make PREFIX=/usr/include FEATURES=-DWANT_V6 BINARY=opentracker6
}
package() {
- cd "$builddir"
install -d "$pkgdir"/usr/bin
install -m755 "$builddir"6/opentracker6 "$pkgdir"/usr/bin/opentracker6
make BINDIR="$pkgdir"/usr/bin install
diff --git a/community/openzwave/APKBUILD b/community/openzwave/APKBUILD
index 2d018cea73b..135f9b3ec76 100644
--- a/community/openzwave/APKBUILD
+++ b/community/openzwave/APKBUILD
@@ -19,17 +19,14 @@ source="http://old.openzwave.com/downloads/openzwave-$pkgver.tar.gz
builddir="$srcdir"/openzwave-$pkgver
build() {
- cd "$builddir"
make
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" PREFIX=/usr instlibdir=usr/lib pkgconfigdir="usr/lib/pkgconfig/" \
sysconfdir=etc/openzwave install
}
diff --git a/community/optipng/APKBUILD b/community/optipng/APKBUILD
index 52e025d293a..b2cade30a4d 100644
--- a/community/optipng/APKBUILD
+++ b/community/optipng/APKBUILD
@@ -11,7 +11,6 @@ subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
-with-system-libs
@@ -19,12 +18,10 @@ build() {
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install
# install license
diff --git a/community/opus-tools/APKBUILD b/community/opus-tools/APKBUILD
index 21ca0e023eb..c5a551492bb 100644
--- a/community/opus-tools/APKBUILD
+++ b/community/opus-tools/APKBUILD
@@ -14,7 +14,6 @@ subpackages="$pkgname-doc"
source="https://archive.mozilla.org/pub/opus/opus-tools-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -25,7 +24,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/pdsh/APKBUILD b/community/pdsh/APKBUILD
index 52bcce65c7c..a6901776fc2 100644
--- a/community/pdsh/APKBUILD
+++ b/community/pdsh/APKBUILD
@@ -18,13 +18,11 @@ builddir="$srcdir/$pkgname-$pkgname-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
sed -i "s|m4_esyscmd(\[git describe .*\])|[$pkgver]|" configure.ac
./bootstrap
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -40,12 +38,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/perl-date-simple/APKBUILD b/community/perl-date-simple/APKBUILD
index 3ae5ceddc34..3eeee2985b3 100644
--- a/community/perl-date-simple/APKBUILD
+++ b/community/perl-date-simple/APKBUILD
@@ -20,13 +20,11 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
@@ -37,7 +35,6 @@ check() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
diff --git a/community/perl-encode-eucjpascii/APKBUILD b/community/perl-encode-eucjpascii/APKBUILD
index b85246dd512..3a0ab347a56 100644
--- a/community/perl-encode-eucjpascii/APKBUILD
+++ b/community/perl-encode-eucjpascii/APKBUILD
@@ -20,7 +20,6 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor
else
@@ -29,17 +28,14 @@ prepare() {
}
build() {
- cd "$builddir"
make
}
check() {
- cd "$builddir"
- make test
+ make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
diff --git a/community/perl-encode-jis2k/APKBUILD b/community/perl-encode-jis2k/APKBUILD
index 8a13be125bb..a7b3fcecef8 100644
--- a/community/perl-encode-jis2k/APKBUILD
+++ b/community/perl-encode-jis2k/APKBUILD
@@ -19,7 +19,6 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor
else
@@ -28,17 +27,14 @@ prepare() {
}
build() {
- cd "$builddir"
make
}
check() {
- cd "$builddir"
- make test
+ make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
diff --git a/community/perl-function-parameters/APKBUILD b/community/perl-function-parameters/APKBUILD
index 5c29795366e..ee1be635482 100644
--- a/community/perl-function-parameters/APKBUILD
+++ b/community/perl-function-parameters/APKBUILD
@@ -19,24 +19,20 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
diff --git a/community/perl-http-lite/APKBUILD b/community/perl-http-lite/APKBUILD
index f218ede07c3..1968a1f0dad 100644
--- a/community/perl-http-lite/APKBUILD
+++ b/community/perl-http-lite/APKBUILD
@@ -17,25 +17,21 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
diff --git a/community/perl-net-appliance-session/APKBUILD b/community/perl-net-appliance-session/APKBUILD
index d7c23834196..f177e84929f 100644
--- a/community/perl-net-appliance-session/APKBUILD
+++ b/community/perl-net-appliance-session/APKBUILD
@@ -19,24 +19,20 @@ source="https://cpan.metacpan.org/authors/id/O/OL/OLIVER/$_pkgreal-$pkgver.tar.g
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
perl Build.PL installdirs=vendor
}
build() {
- cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build
}
check() {
- cd "$builddir"
./Build test
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
diff --git a/community/perl-net-cli-interact/APKBUILD b/community/perl-net-cli-interact/APKBUILD
index 804621623b2..283ed338580 100644
--- a/community/perl-net-cli-interact/APKBUILD
+++ b/community/perl-net-cli-interact/APKBUILD
@@ -21,24 +21,20 @@ source="https://cpan.metacpan.org/authors/id/O/OL/OLIVER/$_pkgreal-$pkgver.tar.g
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
perl Build.PL installdirs=vendor
}
build() {
- cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build
}
check() {
- cd "$builddir"
./Build test
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
diff --git a/community/perl-sort-key/APKBUILD b/community/perl-sort-key/APKBUILD
index 65a58a050b9..c2e4137a0b7 100644
--- a/community/perl-sort-key/APKBUILD
+++ b/community/perl-sort-key/APKBUILD
@@ -20,24 +20,20 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
diff --git a/community/perl-sys-meminfo/APKBUILD b/community/perl-sys-meminfo/APKBUILD
index 671dbb76649..0161302b176 100644
--- a/community/perl-sys-meminfo/APKBUILD
+++ b/community/perl-sys-meminfo/APKBUILD
@@ -15,18 +15,15 @@ source="https://cpan.metacpan.org/authors/id/S/SC/SCRESTO/$_pkg_real-$pkgver.tar
builddir="$srcdir/"$_pkg_real-$pkgver
build() {
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
diff --git a/community/perl-unicode-linebreak/APKBUILD b/community/perl-unicode-linebreak/APKBUILD
index 99ad01ec654..6560158daef 100644
--- a/community/perl-unicode-linebreak/APKBUILD
+++ b/community/perl-unicode-linebreak/APKBUILD
@@ -18,25 +18,21 @@ source="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/$_pkgreal-$pkgver.tar.g
builddir="$srcdir/$_pkgreal-$pkgver"
check() {
- cd "$builddir"
make test
}
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
diff --git a/community/pgbouncer/APKBUILD b/community/pgbouncer/APKBUILD
index 53d671c215b..7163d964c64 100644
--- a/community/pgbouncer/APKBUILD
+++ b/community/pgbouncer/APKBUILD
@@ -20,7 +20,6 @@ source="https://pgbouncer.github.io/downloads/files/$pkgver/$pkgname-$pkgver.tar
"
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--disable-debug
@@ -28,13 +27,11 @@ build() {
}
check() {
- cd "$builddir"
./pgbouncer --version
make -C test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
cd "$pkgdir"
diff --git a/community/pgexportdoc/APKBUILD b/community/pgexportdoc/APKBUILD
index e398a5c304d..14074cef905 100644
--- a/community/pgexportdoc/APKBUILD
+++ b/community/pgexportdoc/APKBUILD
@@ -11,17 +11,14 @@ makedepends="readline-dev libxml2-dev postgresql-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/okbob/$pkgname/archive/$pkgver.tar.gz"
build() {
- cd "$builddir"
make
}
check() {
- cd "$builddir"
./pgexportdoc -V
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/pgimportdoc/APKBUILD b/community/pgimportdoc/APKBUILD
index c3ff82f4524..993de4a8e65 100644
--- a/community/pgimportdoc/APKBUILD
+++ b/community/pgimportdoc/APKBUILD
@@ -11,17 +11,14 @@ makedepends="readline-dev libxml2-dev postgresql-dev zlib-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/okbob/$pkgname/archive/$pkgver.tar.gz"
build() {
- cd "$builddir"
make USE_PGXS=1 all
}
check() {
- cd "$builddir"
./pgimportdoc -V
}
package() {
- cd "$builddir"
make USE_PGXS=1 DESTDIR="$pkgdir" install
}
diff --git a/community/pidgin-sipe/APKBUILD b/community/pidgin-sipe/APKBUILD
index b6bffcff086..3e89914b94d 100644
--- a/community/pidgin-sipe/APKBUILD
+++ b/community/pidgin-sipe/APKBUILD
@@ -16,7 +16,6 @@ source="https://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-$pkgver/
prepare() {
default_prepare
- cd "$builddir"
sed 's/-Werror -Wall/-Wall/' -i configure
}
diff --git a/community/portablexdr/APKBUILD b/community/portablexdr/APKBUILD
index 6083fdb5e85..3137ecee637 100644
--- a/community/portablexdr/APKBUILD
+++ b/community/portablexdr/APKBUILD
@@ -20,14 +20,12 @@ source="https://people.redhat.com/~rjones/portablexdr/files/portablexdr-$pkgver.
builddir="$srcdir"/portablexdr-$pkgver
prepare() {
- cd "$builddir"
default_prepare
update_config_guess
update_config_sub
}
build() {
- cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -38,7 +36,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
ln -s portable-rpcgen "$pkgdir"/usr/bin/rpcgen
}
diff --git a/community/portmidi/APKBUILD b/community/portmidi/APKBUILD
index da3ed279aaf..d7d24d5f700 100644
--- a/community/portmidi/APKBUILD
+++ b/community/portmidi/APKBUILD
@@ -27,12 +27,10 @@ source="https://downloads.sourceforge.net/portmedia/$pkgname-src-$pkgver.zip
builddir="$srcdir"/$pkgname
prepare() {
- cd "$builddir"
find . -type f -exec dos2unix -s -q {} \;
default_prepare
}
build() {
- cd "$builddir"
cmake . \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -42,7 +40,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/lib/*.a
}
diff --git a/community/postgresql-bdr-extension/APKBUILD b/community/postgresql-bdr-extension/APKBUILD
index 40d43119724..12de784e487 100644
--- a/community/postgresql-bdr-extension/APKBUILD
+++ b/community/postgresql-bdr-extension/APKBUILD
@@ -16,7 +16,6 @@ source="http://distfiles.alpinelinux.org/distfiles/bdr-$pkgver.tar.bz2"
builddir="$srcdir/bdr-$pkgver"
build() {
- cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
diff --git a/community/psad/APKBUILD b/community/psad/APKBUILD
index bfa1dc96389..b43977697fc 100644
--- a/community/psad/APKBUILD
+++ b/community/psad/APKBUILD
@@ -20,8 +20,6 @@ source="http://cipherdyne.org/psad/download/$pkgname-nodeps-$pkgver.tar.gz
"
build() {
- cd "$builddir"
-
# Set the config dirs.
sed -e "s|'/usr/sbin'|'$pkgdir/usr/sbin'|" \
-e "s|'/usr/bin'|'$pkgdir/usr/bin'|" \
@@ -65,8 +63,6 @@ build() {
}
package() {
- cd "$builddir"
-
mkdir -p "$pkgdir"/etc/psad \
"$pkgdir"/usr/bin \
"$pkgdir"/usr/sbin \
diff --git a/community/py3-aiohttp-cors/APKBUILD b/community/py3-aiohttp-cors/APKBUILD
index 942742a4821..8618bf8e761 100644
--- a/community/py3-aiohttp-cors/APKBUILD
+++ b/community/py3-aiohttp-cors/APKBUILD
@@ -14,17 +14,14 @@ source="$_pkgname-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp-cors/archi
builddir="$srcdir"/aiohttp-cors-$pkgver
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"
}
diff --git a/community/py3-aiohttp1-cors/APKBUILD b/community/py3-aiohttp1-cors/APKBUILD
index ed5516ac17c..061400ab517 100644
--- a/community/py3-aiohttp1-cors/APKBUILD
+++ b/community/py3-aiohttp1-cors/APKBUILD
@@ -14,17 +14,14 @@ source="$_pkgname-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp-cors/archi
builddir="$srcdir"/aiohttp-cors-$pkgver
check() {
- cd "$builddir"
python3 setup.py check
}
build() {
- cd "$builddir"
python3 setup.py build || return 1
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/community/py3-aiohttp1/APKBUILD b/community/py3-aiohttp1/APKBUILD
index 3b4a9bf5759..994ead2c80e 100644
--- a/community/py3-aiohttp1/APKBUILD
+++ b/community/py3-aiohttp1/APKBUILD
@@ -15,17 +15,14 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp/archive/$pk
builddir="$srcdir/$_pkgname-$pkgver"
check() {
- cd "$builddir"
python3 setup.py check
}
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --root="$pkgdir" --optimize=1
}
diff --git a/community/py3-boto/APKBUILD b/community/py3-boto/APKBUILD
index 5a11bf17650..fd5b0bc0f37 100644
--- a/community/py3-boto/APKBUILD
+++ b/community/py3-boto/APKBUILD
@@ -18,12 +18,10 @@ replaces="py-boto" # Backwards compatibility
provides="py-boto=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --root "$pkgdir"
}
diff --git a/community/py3-configshell/APKBUILD b/community/py3-configshell/APKBUILD
index c03b831d32b..818f3d64b07 100644
--- a/community/py3-configshell/APKBUILD
+++ b/community/py3-configshell/APKBUILD
@@ -14,12 +14,10 @@ source="$_pkgname-fb-$pkgver.tar.gz::https://github.com/agrover/configshell-fb/a
builddir="$srcdir"/$_pkgname-fb-$pkgver
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/community/py3-django-sorl-thumbnail/APKBUILD b/community/py3-django-sorl-thumbnail/APKBUILD
index a00c22ca731..bcdbe1a50f5 100644
--- a/community/py3-django-sorl-thumbnail/APKBUILD
+++ b/community/py3-django-sorl-thumbnail/APKBUILD
@@ -18,12 +18,10 @@ replaces="py-django-sorl-thumbnail" # Backwards compatibility
provides="py-django-sorl-thumbnail=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --root "$pkgdir"
}
diff --git a/community/py3-dockerpty/APKBUILD b/community/py3-dockerpty/APKBUILD
index 72f5fbf15fc..56e7aad1840 100644
--- a/community/py3-dockerpty/APKBUILD
+++ b/community/py3-dockerpty/APKBUILD
@@ -13,17 +13,14 @@ source="https://pypi.io/packages/source/d/dockerpty/dockerpty-$pkgver.tar.gz"
builddir="$srcdir/dockerpty-$pkgver"
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"
}
diff --git a/community/py3-flask-script/APKBUILD b/community/py3-flask-script/APKBUILD
index d0af40d3538..ca555f86aa6 100644
--- a/community/py3-flask-script/APKBUILD
+++ b/community/py3-flask-script/APKBUILD
@@ -17,12 +17,10 @@ replaces="py-flask-script" # Backwards compatibility
provides="py-flask-script=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/community/py3-pydispatcher/APKBUILD b/community/py3-pydispatcher/APKBUILD
index 49f9922746b..f4f90a569eb 100644
--- a/community/py3-pydispatcher/APKBUILD
+++ b/community/py3-pydispatcher/APKBUILD
@@ -14,17 +14,14 @@ source="https://pypi.python.org/packages/source/P/PyDispatcher/PyDispatcher-$pkg
builddir="$srcdir/PyDispatcher-$pkgver"
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py test -s tests
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/community/py3-pysendfile/APKBUILD b/community/py3-pysendfile/APKBUILD
index 84025e82039..5f706bdf911 100644
--- a/community/py3-pysendfile/APKBUILD
+++ b/community/py3-pysendfile/APKBUILD
@@ -16,12 +16,10 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/community/py3-raven/APKBUILD b/community/py3-raven/APKBUILD
index 0deb7775c2e..78b0ab372ca 100644
--- a/community/py3-raven/APKBUILD
+++ b/community/py3-raven/APKBUILD
@@ -16,17 +16,14 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
builddir="$srcdir"/$_pkgname-$pkgver
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"
}
diff --git a/community/py3-sgmllib3k/APKBUILD b/community/py3-sgmllib3k/APKBUILD
index 6c0963717df..00e212f575f 100644
--- a/community/py3-sgmllib3k/APKBUILD
+++ b/community/py3-sgmllib3k/APKBUILD
@@ -13,12 +13,10 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --root="$pkgdir" --optimize=1
}
diff --git a/community/py3-sphinx-autobuild/APKBUILD b/community/py3-sphinx-autobuild/APKBUILD
index 8eccecf9568..46cc60c6d74 100644
--- a/community/py3-sphinx-autobuild/APKBUILD
+++ b/community/py3-sphinx-autobuild/APKBUILD
@@ -18,12 +18,10 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/community/py3-twitter/APKBUILD b/community/py3-twitter/APKBUILD
index 7ebb33cab83..1492c603a9f 100644
--- a/community/py3-twitter/APKBUILD
+++ b/community/py3-twitter/APKBUILD
@@ -17,12 +17,10 @@ replaces="py-twitter" # Backwards compatibility
provides="py-twitter=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
diff --git a/community/qextserialport/APKBUILD b/community/qextserialport/APKBUILD
index 8ac3358243e..cb8c29eb77d 100644
--- a/community/qextserialport/APKBUILD
+++ b/community/qextserialport/APKBUILD
@@ -21,12 +21,10 @@ prepare() {
}
build() {
- cd "$builddir"
qmake-qt5 && make
}
package() {
- cd "$builddir"
make INSTALL_ROOT="$pkgdir" install
}
diff --git a/community/qpage/APKBUILD b/community/qpage/APKBUILD
index a270dc70e25..1d74a8d6120 100644
--- a/community/qpage/APKBUILD
+++ b/community/qpage/APKBUILD
@@ -18,7 +18,6 @@ source="$pkgname-$pkgver.tar.gz::http://archive.debian.org/debian/pool/non-free/
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
cp -f "$srcdir"/config.input "$builddir" || return 1
./configure --prefix=/usr \
--sysconfdir=/etc \
diff --git a/community/quvi/APKBUILD b/community/quvi/APKBUILD
index f278774cd3e..46bfb709991 100644
--- a/community/quvi/APKBUILD
+++ b/community/quvi/APKBUILD
@@ -23,7 +23,6 @@ prepare() {
}
build() {
- cd "$builddir"
CFLAGS="$CFLAGS -g" \
./configure \
--build=$CBUILD \
@@ -37,7 +36,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/rcm/APKBUILD b/community/rcm/APKBUILD
index f4a7a614148..dd816096971 100644
--- a/community/rcm/APKBUILD
+++ b/community/rcm/APKBUILD
@@ -12,13 +12,11 @@ subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://thoughtbot.github.io/rcm/dist/rcm-$pkgver.tar.gz"
build() {
- cd "$builddir"
CONFIG_SHELL=/bin/sh ./configure --prefix=/usr
make -j1
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/rdesktop/APKBUILD b/community/rdesktop/APKBUILD
index 062e008f33a..f01839cc71b 100644
--- a/community/rdesktop/APKBUILD
+++ b/community/rdesktop/APKBUILD
@@ -37,14 +37,12 @@ source="https://github.com/rdesktop/rdesktop/releases/download/v$pkgver/rdesktop
# - CVE-2018-20182
prepare() {
- cd "$builddir"
default_prepare
update_config_sub
autoreconf -fi # https://github.com/rdesktop/rdesktop/issues/331
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -56,7 +54,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/redland/APKBUILD b/community/redland/APKBUILD
index 3d4a5c67386..92202b35544 100644
--- a/community/redland/APKBUILD
+++ b/community/redland/APKBUILD
@@ -19,7 +19,6 @@ prepare() {
}
build() {
- cd "$builddir"
LIBS="-lm" ./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -29,7 +28,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/redshift/APKBUILD b/community/redshift/APKBUILD
index c2b74500a7e..10837cd2e6c 100644
--- a/community/redshift/APKBUILD
+++ b/community/redshift/APKBUILD
@@ -14,7 +14,6 @@ source="https://github.com/jonls/${pkgname}/releases/download/v${pkgver}/${pkgna
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,7 +28,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 redshift.conf.sample \
diff --git a/community/rest-server/APKBUILD b/community/rest-server/APKBUILD
index 618d2715550..b7ba6b5e9f6 100644
--- a/community/rest-server/APKBUILD
+++ b/community/rest-server/APKBUILD
@@ -26,18 +26,14 @@ prepare() {
}
build() {
- cd "$builddir"
go build -v ./cmd/...
}
check() {
- cd "$builddir"
go test -v . ./cmd/rest-server
}
package() {
- cd "$builddir"
-
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 README.md \
"$pkgdir"/usr/share/doc/$pkgname/README.md
diff --git a/community/retawq/APKBUILD b/community/retawq/APKBUILD
index 936d780372d..65ec29da552 100644
--- a/community/retawq/APKBUILD
+++ b/community/retawq/APKBUILD
@@ -18,7 +18,6 @@ source="https://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
./configure \
--path-archprefix="$pkgdir"/usr \
--path-prefix="$pkgdir"/usr \
@@ -33,7 +32,6 @@ build() {
}
package() {
- cd "$builddir"
mkdir -p "$pkgdir"/usr/share/man
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
make DESTDIR="$pkgdir" install
diff --git a/community/ripmime/APKBUILD b/community/ripmime/APKBUILD
index b5056afd0f4..3c083d47f46 100644
--- a/community/ripmime/APKBUILD
+++ b/community/ripmime/APKBUILD
@@ -19,17 +19,14 @@ source="https://pldaniels.com/ripmime/ripmime-$pkgver.tar.gz
builddir="$srcdir/ripmime-$pkgver"
build() {
- cd "$builddir"
make
}
check() {
- cd "$builddir"
./ripmime --version > /dev/null
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/ronn/APKBUILD b/community/ronn/APKBUILD
index 5a26f1664ad..03d1690e850 100644
--- a/community/ronn/APKBUILD
+++ b/community/ronn/APKBUILD
@@ -15,12 +15,10 @@ subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/rtomayko/$pkgname/archive/$pkgver.tar.gz"
build() {
- cd "$builddir"
gem build $_gemname.gemspec
}
check() {
- cd "$builddir"
rake test
}
@@ -28,8 +26,6 @@ package() {
local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')"
local geminstdir="$gemdir/gems/$_gemname-$pkgver"
- cd "$builddir"
-
gem install --local \
--install-dir "$gemdir" \
--bindir "$pkgdir/usr/bin" \
diff --git a/community/ruby-escape_utils/APKBUILD b/community/ruby-escape_utils/APKBUILD
index 3b0e8d0fb44..550b41c01de 100644
--- a/community/ruby-escape_utils/APKBUILD
+++ b/community/ruby-escape_utils/APKBUILD
@@ -19,8 +19,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/brianmario/escape_utils/arch
builddir="$srcdir/$_gemname-$pkgver"
build() {
- cd "$builddir"
-
gem build $_gemname.gemspec
gem install --local \
--install-dir dist \
@@ -31,7 +29,6 @@ build() {
}
check() {
- cd "$builddir"
rake test
}
diff --git a/community/ruby-hpricot/APKBUILD b/community/ruby-hpricot/APKBUILD
index 97a4f1acc05..556a5c47bad 100644
--- a/community/ruby-hpricot/APKBUILD
+++ b/community/ruby-hpricot/APKBUILD
@@ -18,8 +18,6 @@ builddir="$srcdir/$_gemname-$pkgver"
options="!check" # some tests fail on ruby 3.0
build() {
- cd "$builddir"
-
gem build $_gemname.gemspec
gem install --local \
--install-dir dist \
@@ -30,8 +28,6 @@ build() {
}
check() {
- cd "$builddir"
-
local file; for file in test/test_*.rb; do
ruby -I dist/gems/$_gemname-$pkgver/lib -I test $file
done
diff --git a/community/ruby-rspec-expectations/APKBUILD b/community/ruby-rspec-expectations/APKBUILD
index 445ca35c5ba..2e68e51183f 100644
--- a/community/ruby-rspec-expectations/APKBUILD
+++ b/community/ruby-rspec-expectations/APKBUILD
@@ -15,14 +15,12 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/rspec/$_gemname/archive/v$pk
builddir="$srcdir/$_gemname-$pkgver"
build() {
- cd "$builddir"
gem build $_gemname.gemspec
}
package() {
local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')"
- cd "$builddir"
gem install --local \
--install-dir "$gemdir" \
--ignore-dependencies \
diff --git a/community/ruby-rspec/APKBUILD b/community/ruby-rspec/APKBUILD
index 750a217c41e..1a07d6ac562 100644
--- a/community/ruby-rspec/APKBUILD
+++ b/community/ruby-rspec/APKBUILD
@@ -18,14 +18,12 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/rspec/$_gemname/archive/v$pk
builddir="$srcdir/$_gemname-$pkgver"
build() {
- cd "$builddir"
gem build $_gemname.gemspec
}
package() {
local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')"
- cd "$builddir"
gem install --local \
--install-dir "$gemdir" \
--ignore-dependencies \
diff --git a/community/ruby-timecop/APKBUILD b/community/ruby-timecop/APKBUILD
index f440a191c67..48bb299e68f 100644
--- a/community/ruby-timecop/APKBUILD
+++ b/community/ruby-timecop/APKBUILD
@@ -14,14 +14,12 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/travisjeffery/$_gemname/arch
builddir="$srcdir/$_gemname-$pkgver"
build() {
- cd "$builddir"
gem build $_gemname.gemspec
}
package() {
local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')"
- cd "$builddir"
gem install --local \
--install-dir "$gemdir" \
--ignore-dependencies \
diff --git a/community/rutorrent/APKBUILD b/community/rutorrent/APKBUILD
index 466f873ce10..7b280468c54 100644
--- a/community/rutorrent/APKBUILD
+++ b/community/rutorrent/APKBUILD
@@ -19,12 +19,10 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/Novik/$_pkgname/archive/v$pk
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
chmod -R u+w "$builddir"
}
package() {
- cd "$builddir"
install -d $pkgdir/usr/share/webapps/$pkgname
install -d $pkgdir/var/www/localhost/htdocs/
cp -r * $pkgdir/usr/share/webapps/$pkgname
diff --git a/community/scanssh/APKBUILD b/community/scanssh/APKBUILD
index 23974bfca6f..8234ccab3b0 100644
--- a/community/scanssh/APKBUILD
+++ b/community/scanssh/APKBUILD
@@ -14,12 +14,10 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/ofalk/scanssh/archive/$pkgve
prepare() {
default_prepare || return 1
- cd "$builddir"
update_config_guess && update_config_sub
}
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
@@ -28,7 +26,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
diff --git a/community/secpwgen/APKBUILD b/community/secpwgen/APKBUILD
index 2fe1b9b6218..f5de46b84fa 100644
--- a/community/secpwgen/APKBUILD
+++ b/community/secpwgen/APKBUILD
@@ -15,14 +15,11 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/itoffshore/$pkgname/archive/
"
build() {
- cd "$builddir"
mv Makefile.proto Makefile
make
}
package() {
- cd "$builddir"
-
mkdir -p "$pkgdir"/usr/bin \
"$pkgdir"/usr/share/man/man1
install -m 755 secpwgen "$pkgdir"/usr/bin
diff --git a/community/sent/APKBUILD b/community/sent/APKBUILD
index 18f40933f9c..6326890a8a9 100644
--- a/community/sent/APKBUILD
+++ b/community/sent/APKBUILD
@@ -22,12 +22,10 @@ build() {
}
check() {
- cd "$builddir"
./sent -version > /dev/null
}
package() {
- cd "$builddir"
make PREFIX="/usr" DESTDIR="$pkgdir" \
install
diff --git a/community/setxkbmap/APKBUILD b/community/setxkbmap/APKBUILD
index b9491de40a2..7b01c988d7c 100644
--- a/community/setxkbmap/APKBUILD
+++ b/community/setxkbmap/APKBUILD
@@ -12,7 +12,6 @@ subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/setxkbmap-$pkgver.tar.bz2"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -24,7 +23,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/sic/APKBUILD b/community/sic/APKBUILD
index 9d6f90b8889..ca03eccfa20 100644
--- a/community/sic/APKBUILD
+++ b/community/sic/APKBUILD
@@ -22,12 +22,10 @@ prepare() {
}
build() {
- cd "$builddir"
make PREFIX=/usr
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install
}
diff --git a/community/sl/APKBUILD b/community/sl/APKBUILD
index 3e73e74769a..9771bb10f32 100644
--- a/community/sl/APKBUILD
+++ b/community/sl/APKBUILD
@@ -11,12 +11,10 @@ makedepends="ncurses-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/mtoyoda/$pkgname/archive/$pkgver.tar.gz"
build() {
- cd "$builddir"
make
}
package() {
- cd "$builddir"
install -Dm 755 sl "$pkgdir"/usr/bin/sl
}
diff --git a/community/sloci-image/APKBUILD b/community/sloci-image/APKBUILD
index 6b836cc692f..4233fd76d83 100644
--- a/community/sloci-image/APKBUILD
+++ b/community/sloci-image/APKBUILD
@@ -11,12 +11,10 @@ depends="/bin/sh tar"
source="$pkgname-$pkgver.tar.gz::https://github.com/jirutka/$pkgname/archive/v$pkgver.tar.gz"
check() {
- cd "$builddir"
./sloci-image --version
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install
}
diff --git a/community/socklog/APKBUILD b/community/socklog/APKBUILD
index 4d506a0df85..15417b44c5b 100644
--- a/community/socklog/APKBUILD
+++ b/community/socklog/APKBUILD
@@ -15,16 +15,12 @@ source="http://smarden.org/$pkgname/$pkgname-$pkgver.tar.gz
builddir="$srcdir/admin/socklog-$pkgver/src"
build() {
- cd "$builddir"
-
echo "$CC $CFLAGS" > conf-cc
echo "$CC $LDFLAGS" > conf-ld
make
}
package() {
- cd "$builddir"
-
local i
for i in socklog socklog-conf; do
install -m755 -D "$i" "$pkgdir"/sbin/$i || return 1
diff --git a/community/spring-boot-openrc/APKBUILD b/community/spring-boot-openrc/APKBUILD
index af9ac506112..4b921d7e2fe 100644
--- a/community/spring-boot-openrc/APKBUILD
+++ b/community/spring-boot-openrc/APKBUILD
@@ -16,7 +16,6 @@ build() {
}
package() {
- cd "$builddir"
DESTDIR="$pkgdir" ./install
}
diff --git a/community/ssh-ldap-pubkey/APKBUILD b/community/ssh-ldap-pubkey/APKBUILD
index df2a6f2b84b..35b8a86925c 100644
--- a/community/ssh-ldap-pubkey/APKBUILD
+++ b/community/ssh-ldap-pubkey/APKBUILD
@@ -21,13 +21,10 @@ prepare() {
}
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
- cd "$builddir"
-
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -m 644 -D etc/ldap.conf \
diff --git a/community/sxiv/APKBUILD b/community/sxiv/APKBUILD
index a8e8313eca3..d4b8abb4d59 100644
--- a/community/sxiv/APKBUILD
+++ b/community/sxiv/APKBUILD
@@ -17,7 +17,6 @@ build() {
}
check() {
- cd "$builddir"
./sxiv -help > /dev/null
}
diff --git a/community/tango-icon-theme/APKBUILD b/community/tango-icon-theme/APKBUILD
index f5d2c01e007..d0a72ed4013 100644
--- a/community/tango-icon-theme/APKBUILD
+++ b/community/tango-icon-theme/APKBUILD
@@ -10,7 +10,6 @@ makedepends="intltool icon-naming-utils imagemagick-dev imagemagick"
source="http://tango.freedesktop.org/releases/$pkgname-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -19,12 +18,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
diff --git a/community/tclx/APKBUILD b/community/tclx/APKBUILD
index a584ab2b9fc..f1a89638db4 100644
--- a/community/tclx/APKBUILD
+++ b/community/tclx/APKBUILD
@@ -23,7 +23,6 @@ build() {
case "$CARCH" in
x86_64) _64bit="--enable-64bit";;
esac
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,7 +37,6 @@ build() {
}
package() {
- cd "$builddir"
make -j1 DESTDIR="${pkgdir}" install || return 1
}
diff --git a/community/thttpd/APKBUILD b/community/thttpd/APKBUILD
index 260c4f61fbe..c27763f3715 100644
--- a/community/thttpd/APKBUILD
+++ b/community/thttpd/APKBUILD
@@ -24,13 +24,10 @@ source="http://www.acme.com/software/$pkgname/$pkgname-$pkgver.tar.gz
prepare() {
default_prepare
- cd "$builddir"
echo 'mkv video/x-matroska' >> mime_types.txt
}
build() {
- cd "$builddir"
-
./configure --prefix=/usr --mandir=/usr/share/man
sed -e 's/^CFLAGS =/CFLAGS +=/' \
-e '/^STATICFLAG =/c STATICFLAG =' \
@@ -39,8 +36,6 @@ build() {
}
package() {
- cd "$builddir"
-
mkdir -p $pkgdir/usr/share/man/man1
make \
diff --git a/community/todo.txt-cli/APKBUILD b/community/todo.txt-cli/APKBUILD
index 137b70e7506..0a40b7c3fcd 100644
--- a/community/todo.txt-cli/APKBUILD
+++ b/community/todo.txt-cli/APKBUILD
@@ -15,8 +15,6 @@ source="https://github.com/todotxt/$pkgname/releases/download/v$pkgver/$_pkgname
builddir="$srcdir/$_pkgname-$pkgver"
package() {
- cd "$builddir"
-
install -D -m644 todo.cfg "$pkgdir"/etc/todo.cfg
install -D -m755 todo.sh "$pkgdir"/usr/bin/todo.sh
diff --git a/community/torsocks/APKBUILD b/community/torsocks/APKBUILD
index 614295681c8..47bf8a75f3e 100644
--- a/community/torsocks/APKBUILD
+++ b/community/torsocks/APKBUILD
@@ -14,7 +14,6 @@ source="https://people.torproject.org/~dgoulet/${pkgname}/${pkgname}-${pkgver}.t
builddir="${srcdir}/${pkgname}-${pkgver}"
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
}
diff --git a/community/ucl/APKBUILD b/community/ucl/APKBUILD
index cb7374889a6..c7b52c363c8 100644
--- a/community/ucl/APKBUILD
+++ b/community/ucl/APKBUILD
@@ -18,8 +18,6 @@ prepare() {
}
build() {
- cd "$builddir"
-
./configure \
--prefix=/usr \
--enable-shared \
@@ -29,12 +27,10 @@ build() {
}
check() {
- cd "$builddir"
./examples/simple
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
diff --git a/community/uidmapshift/APKBUILD b/community/uidmapshift/APKBUILD
index 3f5af730326..4805359f592 100644
--- a/community/uidmapshift/APKBUILD
+++ b/community/uidmapshift/APKBUILD
@@ -12,8 +12,6 @@ makedepends=""
source="$pkgname-$pkgver.tar.gz::https://github.com/jirutka/uidmapshift/archive/v$pkgver.tar.gz"
package() {
- cd "$builddir"
-
install -D -m 755 uidmapshift.lua "$pkgdir"/usr/bin/uidmapshift
}
diff --git a/community/vdesk/APKBUILD b/community/vdesk/APKBUILD
index 0d7625f5aaa..fef903dda1f 100644
--- a/community/vdesk/APKBUILD
+++ b/community/vdesk/APKBUILD
@@ -11,7 +11,6 @@ makedepends="libx11-dev"
source="https://offog.org/files/$pkgname-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -20,7 +19,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/vigra/APKBUILD b/community/vigra/APKBUILD
index e3340063800..dc9037ff379 100644
--- a/community/vigra/APKBUILD
+++ b/community/vigra/APKBUILD
@@ -13,7 +13,6 @@ subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/ukoethe/vigra/releases/download/Version-${pkgver//./-}/vigra-$pkgver-src.tar.gz"
build() {
- cd "$builddir"
cmake . \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -23,7 +22,6 @@ build() {
}
package() {
- cd "$builddir"
make install DESTDIR="$pkgdir" || return 1
# relocate cmake include files
diff --git a/community/vim-editorconfig/APKBUILD b/community/vim-editorconfig/APKBUILD
index 4507bfe56ec..a7d721f6bc2 100644
--- a/community/vim-editorconfig/APKBUILD
+++ b/community/vim-editorconfig/APKBUILD
@@ -12,7 +12,6 @@ options="!check" # there are no tests
package() {
local destdir="$pkgdir/usr/share/vim/vimfiles"
- cd "$builddir"
mkdir -p "$destdir"
cp -r autoload doc ftdetect ftplugin plugin "$destdir"/
diff --git a/community/wmname/APKBUILD b/community/wmname/APKBUILD
index 70be149e10e..e667be59c76 100644
--- a/community/wmname/APKBUILD
+++ b/community/wmname/APKBUILD
@@ -19,12 +19,10 @@ prepare() {
}
build() {
- cd "$builddir"
make
}
package() {
- cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
diff --git a/community/wrk/APKBUILD b/community/wrk/APKBUILD
index fe9e0e64a1a..4df70c3f1d2 100644
--- a/community/wrk/APKBUILD
+++ b/community/wrk/APKBUILD
@@ -18,7 +18,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/wg/wrk/archive/$pkgver.tar.g
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
# see https://github.com/wg/wrk/issues/310
touch buildinf.h
make -j1 -C "$builddir" \
@@ -27,7 +26,6 @@ build() {
}
package() {
- cd "$builddir"
mkdir -p "$pkgdir"/usr/bin \
"$pkgdir"/usr/share/licenses/$pkgname \
"$pkgdir"/usr/share/doc/$pkgname/scripts
diff --git a/community/xbindkeys/APKBUILD b/community/xbindkeys/APKBUILD
index 95722cc4d8a..b79e08a984d 100644
--- a/community/xbindkeys/APKBUILD
+++ b/community/xbindkeys/APKBUILD
@@ -13,7 +13,6 @@ subpackages="$pkgname-doc"
source="https://nongnu.org/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure --prefix=/usr \
--disable-guile \
--mandir=/usr/share/man \
@@ -22,7 +21,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xcb-util-image/APKBUILD b/community/xcb-util-image/APKBUILD
index de2050af1a0..9411dbe4f65 100644
--- a/community/xcb-util-image/APKBUILD
+++ b/community/xcb-util-image/APKBUILD
@@ -24,7 +24,6 @@ prepare() {
}
build() {
- cd "$builddir"
export CFLAGS="$CFLAGS -std=gnu99"
./configure \
--build=$CBUILD \
@@ -38,12 +37,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xcb-util-keysyms/APKBUILD b/community/xcb-util-keysyms/APKBUILD
index d494e1ec630..757187a9893 100644
--- a/community/xcb-util-keysyms/APKBUILD
+++ b/community/xcb-util-keysyms/APKBUILD
@@ -23,7 +23,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -36,12 +35,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xcb-util-renderutil/APKBUILD b/community/xcb-util-renderutil/APKBUILD
index b806f28bc77..627b5b762a3 100644
--- a/community/xcb-util-renderutil/APKBUILD
+++ b/community/xcb-util-renderutil/APKBUILD
@@ -23,7 +23,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -36,12 +35,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xcb-util-wm/APKBUILD b/community/xcb-util-wm/APKBUILD
index 5c2b32623fd..ddb3430826b 100644
--- a/community/xcb-util-wm/APKBUILD
+++ b/community/xcb-util-wm/APKBUILD
@@ -23,7 +23,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -36,12 +35,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xcb-util-xrm/APKBUILD b/community/xcb-util-xrm/APKBUILD
index 80316d7885d..5d3a665513e 100644
--- a/community/xcb-util-xrm/APKBUILD
+++ b/community/xcb-util-xrm/APKBUILD
@@ -18,7 +18,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -30,7 +29,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xdesktop/APKBUILD b/community/xdesktop/APKBUILD
index 75137f3ff43..1b487093155 100644
--- a/community/xdesktop/APKBUILD
+++ b/community/xdesktop/APKBUILD
@@ -13,12 +13,10 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/onodera-punpun/$pkgname/arch
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
make
}
package() {
- cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
diff --git a/community/xf86-input-evdev/APKBUILD b/community/xf86-input-evdev/APKBUILD
index d1c817aa844..e063a87f2c4 100644
--- a/community/xf86-input-evdev/APKBUILD
+++ b/community/xf86-input-evdev/APKBUILD
@@ -14,7 +14,6 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -28,7 +27,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
diff --git a/community/xf86-input-synaptics/APKBUILD b/community/xf86-input-synaptics/APKBUILD
index c65b348f66c..b56bfe757d3 100644
--- a/community/xf86-input-synaptics/APKBUILD
+++ b/community/xf86-input-synaptics/APKBUILD
@@ -14,7 +14,6 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
time64.patch"
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -27,7 +26,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xf86-input-vmmouse/APKBUILD b/community/xf86-input-vmmouse/APKBUILD
index e52b240b6e5..a2109f0844d 100644
--- a/community/xf86-input-vmmouse/APKBUILD
+++ b/community/xf86-input-vmmouse/APKBUILD
@@ -12,13 +12,11 @@ makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev eudev-dev"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
prepare() {
- cd "$builddir"
update_config_sub
default_prepare
}
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -28,7 +26,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
diff --git a/community/xf86-video-apm/APKBUILD b/community/xf86-video-apm/APKBUILD
index 3bb4915dd8a..eaef274a261 100644
--- a/community/xf86-video-apm/APKBUILD
+++ b/community/xf86-video-apm/APKBUILD
@@ -12,7 +12,6 @@ makedepends="xorg-server-dev libxi-dev util-macros xorgproto"
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
@@ -23,12 +22,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/community/xf86-video-ark/APKBUILD b/community/xf86-video-ark/APKBUILD
index 0bb9a71f9f1..1d8a1c95bca 100644
--- a/community/xf86-video-ark/APKBUILD
+++ b/community/xf86-video-ark/APKBUILD
@@ -14,13 +14,11 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$builddir"
update_config_sub
default_prepare
}
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -30,12 +28,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/community/xf86-video-chips/APKBUILD b/community/xf86-video-chips/APKBUILD
index b1caf503948..92231ecb817 100644
--- a/community/xf86-video-chips/APKBUILD
+++ b/community/xf86-video-chips/APKBUILD
@@ -13,7 +13,6 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -23,12 +22,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/community/xf86-video-i128/APKBUILD b/community/xf86-video-i128/APKBUILD
index 45756913a58..8f86e10c4ec 100644
--- a/community/xf86-video-i128/APKBUILD
+++ b/community/xf86-video-i128/APKBUILD
@@ -13,7 +13,6 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -23,12 +22,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/community/xf86-video-i740/APKBUILD b/community/xf86-video-i740/APKBUILD
index e1b68efa763..ab310bfa765 100644
--- a/community/xf86-video-i740/APKBUILD
+++ b/community/xf86-video-i740/APKBUILD
@@ -15,7 +15,6 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -25,12 +24,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/community/xf86-video-r128/APKBUILD b/community/xf86-video-r128/APKBUILD
index 1f22c0f192f..9b0e7c9c5b3 100644
--- a/community/xf86-video-r128/APKBUILD
+++ b/community/xf86-video-r128/APKBUILD
@@ -13,7 +13,6 @@ makedepends="xorg-server-dev libxi-dev libdrm-dev mesa-dev expat-dev util-macros
source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -24,12 +23,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/community/xf86-video-rendition/APKBUILD b/community/xf86-video-rendition/APKBUILD
index fb9250ca89b..10ead66ff70 100644
--- a/community/xf86-video-rendition/APKBUILD
+++ b/community/xf86-video-rendition/APKBUILD
@@ -15,7 +15,6 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
builddir=$srcdir/$pkgname-$pkgver
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -25,12 +24,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
# Stripping manually
diff --git a/community/xf86-video-s3virge/APKBUILD b/community/xf86-video-s3virge/APKBUILD
index a7c0b9fc453..091505760c0 100644
--- a/community/xf86-video-s3virge/APKBUILD
+++ b/community/xf86-video-s3virge/APKBUILD
@@ -14,7 +14,6 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
"
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -24,12 +23,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/community/xf86-video-savage/APKBUILD b/community/xf86-video-savage/APKBUILD
index 8bf21910b29..d245b07b269 100644
--- a/community/xf86-video-savage/APKBUILD
+++ b/community/xf86-video-savage/APKBUILD
@@ -15,7 +15,6 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
"
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -25,12 +24,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/community/xf86-video-siliconmotion/APKBUILD b/community/xf86-video-siliconmotion/APKBUILD
index 8ea38d118bc..2485cd4c78b 100644
--- a/community/xf86-video-siliconmotion/APKBUILD
+++ b/community/xf86-video-siliconmotion/APKBUILD
@@ -15,7 +15,6 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -25,12 +24,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/community/xf86-video-tdfx/APKBUILD b/community/xf86-video-tdfx/APKBUILD
index 828ebfb4f00..61e13de2cc4 100644
--- a/community/xf86-video-tdfx/APKBUILD
+++ b/community/xf86-video-tdfx/APKBUILD
@@ -15,7 +15,6 @@ source="https://www.x.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
@@ -25,12 +24,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/community/xfce4-vala/APKBUILD b/community/xfce4-vala/APKBUILD
index 7eabd883dc6..57b18e38125 100644
--- a/community/xfce4-vala/APKBUILD
+++ b/community/xfce4-vala/APKBUILD
@@ -18,13 +18,11 @@ source="https://archive.xfce.org/src/bindings/xfce4-vala/${pkgver%.*}/xfce4-vala
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$builddir"
default_prepare
autoreconf -vif
}
build() {
- cd "$builddir"
local _apiver=$(valac --version | awk '{print $2}' \
| awk -F. '{print $1 "." $2}')
./configure \
@@ -40,7 +38,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xinit/APKBUILD b/community/xinit/APKBUILD
index 629a8830f21..d8b74cdf7db 100644
--- a/community/xinit/APKBUILD
+++ b/community/xinit/APKBUILD
@@ -19,7 +19,6 @@ source="https://www.x.org/releases/individual/app/xinit-$pkgver.tar.bz2
builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,7 +31,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
chmod +x "$pkgdir"/usr/bin/startx
install -m755 -d "$pkgdir"/etc/skel
diff --git a/community/xinput/APKBUILD b/community/xinput/APKBUILD
index 7f73caeffb7..cc9b4be1d16 100644
--- a/community/xinput/APKBUILD
+++ b/community/xinput/APKBUILD
@@ -14,7 +14,6 @@ subpackages="$pkgname-doc"
source="https://www.x.org/archive/individual/app/xinput-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,7 +25,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xkill/APKBUILD b/community/xkill/APKBUILD
index b97f86fcf55..062d0d2c203 100644
--- a/community/xkill/APKBUILD
+++ b/community/xkill/APKBUILD
@@ -16,7 +16,6 @@ source="https://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2"
builddir="${srcdir}/${pkgname}-${pkgver}"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,7 +25,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xmessage/APKBUILD b/community/xmessage/APKBUILD
index fd313a6b451..f25f0f7e279 100644
--- a/community/xmessage/APKBUILD
+++ b/community/xmessage/APKBUILD
@@ -12,7 +12,6 @@ source="https://xorg.freedesktop.org/archive/individual/app/${pkgname}-${pkgver}
options="!check"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -24,7 +23,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
diff --git a/community/xmltv/APKBUILD b/community/xmltv/APKBUILD
index a31860abee1..b855d5d63b0 100644
--- a/community/xmltv/APKBUILD
+++ b/community/xmltv/APKBUILD
@@ -17,18 +17,15 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/XMLTV/$pkgname/archive/v$pkg
builddir="$srcdir"/xmltv-$pkgver
build() {
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 yes | perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
diff --git a/community/xmodmap/APKBUILD b/community/xmodmap/APKBUILD
index 9d1fd5663df..65804e2d21f 100644
--- a/community/xmodmap/APKBUILD
+++ b/community/xmodmap/APKBUILD
@@ -14,7 +14,6 @@ subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
build () {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,7 +25,6 @@ build () {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
diff --git a/community/xrandr/APKBUILD b/community/xrandr/APKBUILD
index 7dd6238ec39..5429cca1b8b 100644
--- a/community/xrandr/APKBUILD
+++ b/community/xrandr/APKBUILD
@@ -13,7 +13,6 @@ makedepends="libxrandr-dev util-macros"
source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.xz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -23,12 +22,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/bin/xkeystone
}
diff --git a/community/yersinia/APKBUILD b/community/yersinia/APKBUILD
index b2771b2585d..0134a2f3bba 100644
--- a/community/yersinia/APKBUILD
+++ b/community/yersinia/APKBUILD
@@ -20,7 +20,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--with-pcap-includes=/usr/include \
@@ -29,12 +28,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR=$pkgdir install
}
diff --git a/community/ykpers/APKBUILD b/community/ykpers/APKBUILD
index a70fc382056..4f851683ae0 100644
--- a/community/ykpers/APKBUILD
+++ b/community/ykpers/APKBUILD
@@ -20,7 +20,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -34,12 +33,10 @@ build() {
}
check() {
- cd "$builddir"
make check CFLAGS="$CFLAGS -D__GLIBC__"
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}