diff --git a/community/a52dec/APKBUILD b/community/a52dec/APKBUILD index 5abda8d3d90b59263888df95ec265e833c0d3b48..e6c25d61be764ba4dc500c78a10ccdae2f226dba 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 3d741134391901fc4df3761369993ffb5ecb41a8..64e7228f4b62e35f50a66800611f27cfccb4f2d6 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 0eba32b7989eb39d9a2e61242d9b067af0637a42..f9fc438fc7ee4b3b1fd7c8461bea695f4de3e836 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 6d8476077cbd81fe05d4c33005e50257b4c84a5a..a2d2327c1cbd06b9655f497e67cad6caacf8908d 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 e17cf136445d6e070aaa4c66d895cfca43d54318..355866b95e7bb98b5240e80da9531a5cd73c8f4b 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 5fd79cd0bde1176f6e75594c7e585a0cbb0d3594..b8335c926c56aff1f147a49a8cf4810f9c730ba2 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 110d3a82d4d3b911ddd2bee5b2866799982d2adf..918fb0c3b7b543214922c4f8685f82787e2f632c 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 f8014539f7919631765a0df66bbdcd73e73a796f..c25070347a310ff3dd9ebdb0363f5522dc1eafc2 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 0d5a6efc116474bb94fc567e2be051fad41595d5..471a3d13c79b3912f5a517e11681aa7409579fce 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 0f9072af209c09430736dea68f639d6cb3f96518..dc29f78457dc502551fba8b2856c997591e67aa2 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 04b9e50e5a6bbc150bd3621977bdd71167c2e5fe..5fafa76716119b2e88537c24d5fc446f97575bd0 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 c4457c564d17ef113b6ba532ffef77f0201433b2..5f4252fd14620341bc8c9f8502cccc1b3c4cf619 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 80fdfe89b7521f8943f65102eec9b48bab5c62d9..d918ed54017ac0830bbd04b82685edbc4fc4ba47 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 02cb946d92e71bd65e238c8c4d1c31b6d2ff68ef..53f74cc9428ca6cfeeed6b536be90b79c7cbf0ae 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 1f965155b99993761c54fd9da00a5d83b3687991..abcb1152da8ede79b914ef3d372adc72d845c3f2 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 ff3011f74e6bdbbb5be159c3a2682d8d0fd8199d..96188ce9a00888ec62d30262f58592dadc677d02 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 24b3e20814de9260e7b08edfb017f05176c1d510..f20c14654fae2f11bc1d37f968d505cd795c2d6d 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 f1e682758a1f175f8d3bc498cbdd946bbbdec673..40bae1487777c6cb5b204816af158499e583ca93 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 1f8376e184fc3812387468cf8d823e58f98b221e..7ce68134cc0440b7208f637ff50ab9e8bad21518 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 a4f2b0461d15a43b71745dceb21a0d4b8ab34abe..1b95abd4876541e040463a0c7139028f95fe22d0 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 df54973aff196ce0d6d25941c6bf2ff69d5edabc..e5315d4ddc8fdb173f2608dc3e67fb35b3af1072 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 d80ec9d637ae9ae1754106e94ec1695035d13f4b..1c8742e20b89d8d4b6482816bbaa79b4c058c2c4 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 fb52120439b98e03899c737a56af7fa0c0a8b42d..351ec8720e219e11cd420d6c7efd2b9e4271d75b 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 00afb2632716c1db794c5edbb424fc5fa72fd15b..b07468980e696e94f88d3b01560c38072db195b4 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 b15712ad9edbcb0b4a303418aae59fddc1f7d840..c7204d47936040857a82bbee06cf8ac67e2f18b8 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 9c003c1f59176cfc57336986d7517b43f1903796..54a451571f86e5c761f5676e6465556ea034f3ad 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 e1f583a46cd974e6b9564593ad230a50462b36ca..f097c54ac1283611ebca2eeb3e4a810a3e9c7fae 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 cde99f87063164b9ab2fcd0b45ccd5fc030eabd3..74bfe8b5f5033e3472edff265829daf4a45df4d7 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 c5a0705bbb747b7c47b94f372d14d9176ac8926e..96d5fbf657df775864b421a2504be58b97b3a9f5 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 6cfc83beada960d42fa59be81a7943c0b935649c..1661331192e9815dcc4543aab6cb47ba24041d62 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 c114d9958bf27cd13e782cf3cc49de5f61be8d49..c4a10fd9d142945d332edf067278a36b579a4e3d 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 4d6280bbfda097e41adde146bfae8717c37c55e5..962370f63676593493a9fc614fed3e042ac5e738 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 1b89c331970194e73ca40100ec379fd1a14d041c..4cd5eb36aa693a6f8339d52a1c8da89524dfee29 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 09149c4879e72b99ed1379ec7d41dff499da0f3e..a34a92f399da743aabe73aa768a2f65382464392 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 32e03e2f12a7ad0dfab3efbf86aa0f3c53efd1a3..0a15cce0fbc5f03f0a65022ba44b1e65d163c3d9 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 e6fbe2a47bd84b0bcfeda05476851c0e72eb724d..b6196eaf1b1520bbba2b475215befde00a0885c6 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 555f91b9db59b8f643ef2996f704bf6d96e2203e..31af8e7faa2fd3994575c92a0113a7362eaa04eb 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 c91242d87f18198e223ba1ac44ed8df68c174942..c411838ad38b0c4bd2415b050bf2c4317d6cd870 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 5c4bf0e61aa0935376015d1dd2e58ffcae88418a..7e1c1df2f8242b63e8ca8a60c1ce6d2ef79416fa 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 064ab9bf9ef2dad176fe37ae377295d4301d9f0d..1f9b039c5647a7fd285753ae7b9d1a548e3d2858 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 1d14c8dac73481172e46565be2d6aa75ffce70a1..51de2aadc06f3fc055bebbe944cf0308bd0e5626 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 e3f30f68ead8e8f9b56ba9ae1e246f7c29472010..67382ceca5016aecc6e1c9c508be1ba434c93a37 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 21a5de59f05a71842b5311b4ec5eed694f3834b9..7bbe9f6cd8e70b5bb9d4fbfbdf5bd6ee4ce100b6 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 2a1914858b345073ba0b2a953b2ec726ff76d121..ad35fcce1bb8de99726ea6d9c9af5556543cff7c 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 be6f8e0e0061ee8090a997026a3be001e5fd8801..caf8c2bf26937933a5d15b1d74fac2d911ce87ca 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 ea228c9aa88622d73eccc99b19aefd30f60388c4..e1fe680e3e27620315580daac2ea90c3867f88a0 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 c30dd912145cdc5758086e73183db71eafae2074..af6a9e966dd34795e6c8ad0c71774294a90b7d57 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 49ca7812a2c5107e8e5714ca5a2dc39da9a8504e..51a2db6d09425c82df00bc47478804749cea48f8 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 5b3f42f93661782d62282d6d52f86f0c6f98a9b8..47f5eb1a79d31c136b7a5c6f59cec44fab8f6af0 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 8a71ec8a48f46eb9b1bd74f20effe3e378ef4a0f..43116e3a922ae07b771bfacd29c5a97c658c32a3 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 f9773c62d7b43e2ff3d58d53bab43c21487f2e0a..823df938936b546f2338c9cc6e1eaf1f3d608236 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 8aba0990df87651809b9e477fc6bd28cc5232d12..367162b74ff7e0f68caeda451d945c23629772de 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 475c2dfe0ce6b78fb997fb991b5c0638e257e014..0d02289e327b00f62f3b0ef81898ddedf67a3454 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 b7be400ce3d2eb281aac7abf0e32cf6fa727f0ee..7fa53a00fef950c21b4af0f7a138c5e0d317253b 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 a823a5674937891d41a9531c3f119909ea42a0cf..f17087025a16b14c1657dc532bc587b30b67651b 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 2e2aab1dc5c9e4df6b84ee3a56a9c3367a77b9e5..664454b465372d88f9200b99eafa98e9a0676f03 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 2a49651b9bf9b2e461a88a3e9194817a802811a9..3186dc874d841676ef7aed290d862ce100871701 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 c82e216fff05459c5ef4f3f98f842f9c974c41f2..6280d124acd3b6bb8c3ed76b75f9766b7c216f29 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 78dfd6d4aa3dde113260f1afb43c12f20d8f0f1d..58aa298d66f2803dd52f442fdb1381792abae6b5 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 672ea9a2ab16d1881f48f09133af058f157aed4f..1b90fdae3acbce6cced235f906e200acfbe720c2 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 50a8dacec0f8ab37d6b37aa4b0c3fca5c81b9d69..240528a4fb40e6263175d899b9a7ada8b7fdd025 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 b7a96afefa9b4b65ebbae51c4da10857b3f28385..037ee69b29a525fa88021c34a0590a7749912756 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 f365b83c7e44d9e06b80c2ac8b2b5cc7030d4244..59659f2c3794e8c513e8c7de4bf5f287be033601 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 8a4aa78174c241c032bf1c4270ca461d6eaa84b8..9d16dae4d2198325997dfc73199c269adaa73b47 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 bfac17e6a6bd836482dc9b945ff593263799b4a1..0300f4e417237f62f5f245e0f6b4de8eb2703510 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 b8582349c9ceb05df5a18cdeec3129e09ee3b205..c7d4f0486f9135a9867cf7299a66d19c8a2a28f5 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 cf62db792c782badf91ec099d0abae10c7db80d4..f22080e2277f19c6d011dc2b3c4cc5064c51a3d0 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 3f3e3f489dbe0e0b69e5ce1b1fb20b4e5194214f..412d9d2fd62696909eb9b53287317c2c9f0275d0 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 486ad2575a6c9a8e6b8c310d40ba03e5ef1b9199..7939364dc96dd3cbc40654af5776ff69b136f4c9 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 19ff4550217a6613e93c7bb3877ddec60ac63ad3..32b12a880aaa406afd0a4298fd23715ec97e9bd0 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 8b5b1eded9efc5f238a13ca3598a39b758c575f0..50d9bba33e63a8ff95295c2267a45c711db3915d 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 8b78b3bf862b8da5ac7bdc89e0830a86b323824b..63c5f6d450ea470849a11c54209854c74a4de25b 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 6625574d86858ee7a77a2916985c62bc6e6da9dd..d807a56c5195a2eb7c9c25ee00f50352ad3220ba 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 48470abf22b28e947e0cb2d30b678d373f54a1d3..52331c6afcebf9fb851e8b5049bc1a3616bdc1e0 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 2790ff606913e668e65c46c4e04e529bebc5a174..9baf07c8e9c88690dc734451327637342ea5926c 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 bc4d0e39d6bfd5b8b676a310f76bcf88f51560a5..a1cee59d08d9b2725fc30409e2bcc8b7e445042e 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 dd6ad0fa447f40f995721b4187530c28b981adf7..becd67691d2960ff91647db32df92b6eca70af0d 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 87417f79f5ced87372f1592c0a61c405e61a7d75..75730636ff528ac23a4ae1b1f7cadf5f54d0193c 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 b6304947a31f73f8fccf0b8fc290e66d9d78f505..537427dab8e48a339b1425779546012ae78bc959 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 c9bc284b9290b4e6d8bd6ea0d4fd586bd6130da4..d70fbeb96405ba30bd6cec934607c4e758347ed5 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 95d7530419e47d435e06ad7f5e70193900ee3129..ec07730849d52924fc5fd084381fb98206f814ae 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 3b507df1bd8e80176a1a55e9c6cf95c78fbba70c..29ef185b42e0ab4589de04520dc349b46d8d0c54 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 e24816f163494c632259e7bc816c721c64bb992f..372b2d79b7d5b2b286fc9a5ada3b6858b89f9bde 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 8e6ae1c634df796ee0d69084b070d99ff653af92..b4712da105e1e494dc37fffcc1a4052135c5c0d9 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 05805f99d2bbff09cf104d670c05839212812964..b9fa2a842400e5d5a569b2d9f33fc74ddba660bd 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 57cda55f9f54f52e56f3569e635adb1d56860db6..1e968b5d202869a03f3e4413ffcbf8542a1ca86f 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 2d018cea73bae1c97b0e3c29a36c6f2b406e55ca..135f9b3ec76f5e03ff6d32de574f70ee087b3f92 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 52e025d293ad5066560dfe896a5cb9a090c34b7e..b2cade30a4da7de875964fb49a03bc541a5f3589 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 21ca0e023eb118044b6ada80bc47dd79c5a6860a..c5a551492bba0ef18093af317ed5ecc354ae82d0 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 52bcce65c7c80fab64737059a62da5b20b50e69c..a6901776fc242914bce07b336aad72dbb8cad68e 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 3ae5ceddc34f4aa29fc084c3911eca11f01c41c4..3eeee2985b3ee969b71d18cb64ce48ffebb11f8d 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 b85246dd512c0202ea5f0aed73f32e654d57249b..3a0ab347a56c728733f6c04d9cbe6e4b7b593860 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 8a13be125bb1ca62ec8b9d39e1ab53db54ebde08..a7b3fcecef8bc9cbf59abb2f0811da2a43d56e83 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 5c29795366e67be1559fc4af6c48bd9fb5b7449a..ee1be635482063871196b34ff88109084e10b227 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 f218ede07c35d4091c9a899a02b81132d2391044..1968a1f0dad7291f1be6b3ab83c42f37a34296d6 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 d7c23834196e3ddd87cfbeb9e59b1e854c037226..f177e84929f45b496446cb7e633eca5f592b55cc 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 804621623b2a44e2adc00a1084e03beb6b97bc2f..283ed3385802f628181ae1f6e776b62de3336061 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 65a58a050b9ba337cdb22fca5704dd48b2d7d50e..c2e4137a0b7657c28d4b0abc461cb8b1230b9a1a 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 671dbb76649516d695563acc5bdb1998e5e471bf..0161302b176a4a024d30f10354c73cab927b1aed 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 99ad01ec654ea0983b3fe936e172630636facb93..6560158daefd4798608fa958a65e8ecf06fda85b 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 53d671c215badf8b6dbf8638d1c5277bfde6bbe5..7163d964c64b64c8fd26b331e47b4a49cc2e02c8 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 e398a5c304dcc4badc67f621f85bf822a97297da..14074cef905b25cd1160dc355f80792ce21e89d8 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 c3ff82f45248281969b06a0f63add7593e6996a7..993de4a8e656ac6ebc712acd5f784dab2859014e 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 b6bffcff0868bcc2643f82b980b175e215f9c931..3e89914b94d4ef301028ed6d83116a2496fad85e 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 6083fdb5e854aca6111eb38915e1b57a37f71576..3137ecee6370f812b91bcbe518f47cd03404c176 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 da3ed279aaf7f8c35bdb8c399ba300c2f06b7891..d7d24d5f7003808c621e0e1f07295576777319d5 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 40d431197242c3055db54ccff4e61c6ee16ecb50..12de784e487530811e6175e9b8ca151d3a7ab7be 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 bfa1dc963895ac1a7d97537a882a18da1cd548b9..b43977697fce21b1c6011a20a91c6305f2ab92b6 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 942742a4821a95136038b85edd0be12f878851c5..8618bf8e761ddc1a20ae5435c4c583ac0f5e225a 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 ed5516ac17cddafbde24fed7a743160f80c33dd8..061400ab51798ac804d8fdef3725a5c6d29ff1e9 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 3b4a9bf5759343f03218b8d9b450dcb2fa499bcd..994ead2c80eaacc0ca82b41c46058f4c9d51e7b9 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 5a11bf17650d7dc09a4ded77221b3706975e1413..fd5b0bc0f37bd86fe6319a27bddc61cb992dae46 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 c03b831d32b6b150138f51777856a54b2a432e1a..818f3d64b07f7add5e3fcdeab7539f484b20b2b1 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 a00c22ca731c9f40021e3348c2e0581e78731467..bcdbe1a50f56d0afb875f42d94b29c5df4f09bdf 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 72f5fbf15fc570bcbbc84f0cd9f047a8af8c3e3c..56e7aad18407b154b3bdbd9ebce56b31a5a5debc 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 d0af40d35384be2cb5317694078fbebdea14dada..ca555f86aa6482efade253208e0fd301f76399cb 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 49f9922746bb5e54a8c83ed09e7d54aac0ed9937..f4f90a569eb69b9f36dfa8c5c958cbd8e3e17fa7 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 84025e8203909034ad01b87153c919fb84523e87..5f706bdf911c2af98bef28d0dd11fc6a8b3b5fb3 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 0deb7775c2efa30069cda8a0e15ffc00a4542723..78b0ab372ca28e459ba0906bb85fa4df7bd4a6f3 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 6c0963717df69638da5f48d299da5f56bf71e586..00e212f575fdd690ad59183a599729553bc5cf1f 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 8eccecf95687dec5935a3604602ecc22cf55f961..46cc60c6d741d183bf44e26b9d88f1918d1dd924 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 7ebb33cab834a06d0ed72649e65e1e5f545e01f9..1492c603a9ff0189744ffd3c581c07b08a3b93b4 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 8ac3358243e79525ee8eb22808ca468f88db3f18..cb8c29eb77db909eb830e83742106c67f53d3ae3 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 a270dc70e252522058dc91a8047368feced5289c..1d74a8d6120b90329a8c6ef2941af9ddd02d4754 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 f278774cd3e3e4476e987c0d09ebaff67e968a4d..46bfb709991ef250fa37942a39ff83a64a5f8ea6 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 f4a7a614148b74b8e9b5dfdc94fee8db1374a6a8..dd816096971ad343a08927e528bcadba4f32a02a 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 062e008f33abcfe365ee645ffb88440c5c99ebeb..f01839cc71b173b8f35bb22329cc958629074a17 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 3d4a5c67386718cc8403f15851fb51f854504513..92202b355442b03829a84e5ae0917f642fc2d409 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 c2b74500a7e486c9baedad059de5a9aa6ae10909..10837cd2e6c33cf318419cd8aef6662d793802f0 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 618d2715550beb37cf4fed6b2430a84e4c3eb967..b7ba6b5e9f6dd7c8a0feb3fa1408801a277e900c 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 936d780372d6e3ff655358f5da7f6e61bf42c355..65ec29da552cdc5b71b5f8c12004ffa7785c6aa8 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 b5056afd0f4ac9b2e9c2938cabbbf9cbc6388148..3c083d47f4664ab77cc65d32089a3b91ec30e22a 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 5a26f1664ada0306e833cc7d1c09764ead96591b..03d1690e85083095a5c0501e586259c2f7674110 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 3b0e8d0fb4409a54ac8c6a29f72ef274fe3a8d36..550b41c01dea21411033e0b3ac93adb1bb9a10ed 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 97a4f1acc05b8ac2dd728d15b149378414db2d03..556a5c47bad354b3463dd5d74356b8bcf24d54eb 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 445ca35c5ba4bf769b780015170927e60e004a6a..2e68e51183fe5e15a6b68cb64479461e80d24922 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 750a217c41e8e8ba4b6d2469f49e0ccb6fb5f9ff..1a07d6ac56255a67ed3bcab2e3bb68b4dd3c5673 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 f440a191c67e8065b51f72accb6b6dc20fd4317c..48bb299e68f82a90a17b05482ac8357042cf542c 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 466f873ce10d68e0f1421100efe37d4889d7a4ca..7b280468c541105d4696fb3041adacc7a32e51ae 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 23974bfca6fc268f397b5e1443817172d2c74387..8234ccab3b0a17120d6ccc8bcfbd135a14a647fe 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 2fe1b9b621838445f5f2510fe178d1811d5a5a64..f5de46b84fa694126dcf45071219af94c7328e3e 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 18f40933f9cd7410ec15264767c9d061b9b4c122..6326890a8a9f2bbf5d6f9392f226bf47e5380078 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 b9491de40a2bc92ac021d4293d3cd3050306e5e2..7b01c988d7c49d43dee5cb21bb8b9147275c4170 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 9d6f90b88894f678067dc488b24778f39c7bf127..ca03eccfa20198902e9b73ba4a6d73ac6e6059be 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 3e73e74769ada7052992462b14ee7e17a84819d9..9771bb10f324fb92e763034355d5763c8959c2c1 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 6b836cc692fb17ef797572654c65c19506442eaa..4233fd76d831990966199c000ad0b11bd7edf491 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 4d506a0df851303427cf8418771984bdb9ffa7c0..15417b44c5bbde32a00d9bf1ec73b7c9e070a31c 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 af9ac5061124fb2344c922c2444d990aa47660a7..4b921d7e2fe95801796661cf1bc957de7f93f282 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 df2a6f2b84b17f0d2583f16d21a2288dfcae1733..35b8a86925c47df370febcaf94a52a093f286eb6 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 a8e8313eca37e411d3daaaffbc1f633890ba9ea9..d4b8abb4d59b9e5554a440b177f5a81ccb8d74df 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 f5d2c01e0077195af2e6c8eb430e25d93744ea33..d0a72ed4013553fa70f27a90728cba91f9f16061 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 a584ab2b9fcc753f2a7119d92af8415361eb5917..f1a89638db48fd5495f5712e02189539705d0408 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 260c4f61fbe352c461ad2071e5df87e9794a7a51..c27763f3715c88e394f92b16525b5ce973d49b34 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 137b70e75067e2b7116cdcc30f650be14c169131..0a40b7c3fcd761af45eb5b6e136e64ce84282a73 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 614295681c8d97cb03f48dc2884ff675de8f13b4..47bf8a75f3efac30c58904b765e6f4ba6ac128fb 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 cb7374889a61fc32989818699c88633753ebd566..c7b52c363c84fda63a79cc72b07c54cbbb394e3f 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 3f5af7303265f55b9c14e5decf4bdab8ae640eb8..4805359f59275b9d580fbe19f76a477cb5fad1b8 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 0d7625f5aaa7cbaa898838bc84cabf9b87b6eafc..fef903dda1f11013fa87eaff396f4d6d40ca416d 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 e33400638005f93d4076eedf57f5b95c3c387886..dc9037ff379402048d7f64c395bff2416bb735c3 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 4507bfe56eccbf8b15f8bd35cfe7f93bbc995dee..a7d721f6bc2c9d7eb31e8901621f977ac2db8ce3 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 70be149e10eb4bb0f473c4e47f09229fade91c3c..e667be59c7618ae1a32ba0387658d17daa6d834a 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 fe9e0e64a1ae8c6a249b72b6be4873a48700c5d9..4df70c3f1d2033190d4b83cd447472352fb7d863 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 95722cc4d8aae6ec2c3e671b1a5329530a1cb978..b79e08a984da728d0df5148785e134ec37abb203 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 de2050af1a0b1fbe00b318b8ee40ee136fd89c95..9411dbe4f650b9d2b0b8bb47d1776892f27c951f 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 d494e1ec6301bf4658a9cdc877554a4914431ecb..757187a989367bb543ed499d8049ab793cbfa66a 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 b806f28bc7766622d627c26b851f8917a8c5f2c5..627b5b762a340f832b4f65008738c0244d4443c5 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 5c2b32623fdf215eab2a3234a1d8482a339f0340..ddb3430826b4df8b8f8e5ec8928c608e56cf62f5 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 80316d7885d60e403e8b1b19f79719e7fcc36716..5d3a665513e57190748287daa4a7c00d385591bb 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 75137f3ff43db974aece5067f78a4f27f791e717..1b487093155a938d4d4428e1395583a5b66e9feb 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 d1c817aa8449d4b36ca3b6f0b1428af188bb6015..e063a87f2c419e5c667d2fd5bcd76004975c555f 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 c65b348f66c5d0a78494e6ad8e37d792fe4f19e9..b56bfe757d303add5c3a292d5799020c8af4d986 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 e52b240b6e5109aaf0af62ccd17e8655656e812e..a2109f0844d8af5445681426ec049459575dd7aa 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 3bb4915dd8a0ef07e2a7718080236290af0570b8..eaef274a261d983586a0841164448043a87aa509 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 0bb9a71f9f1cf852eb9cc9eb62b60e29e7c774b1..1d8a1c95bca2f1eb108ec6c8d5956dac0555862c 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 b1caf50394887e28d38acb268f69470e35dcba1b..92231ecb817349829e71bbe3cd96824fd89638c3 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 45756913a58505eda9d5cf1670e67344fb2eb3c8..8f86e10c4ec8524a1e09d13f1586e42a3339f705 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 e1b68efa7630ffa23b02c50020f94d9b29695b3d..ab310bfa765647bff522d8cb1d14acf25601edb5 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 1f22c0f192f515d0221ae2219c2bc17a08b0bb5b..9b0e7c9c5b3766d140df75b564263e21f366bffa 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 fb9250ca89b1ad644f29b6c2e001c1317b2501f2..10ead66ff7059c261d82edbd12c17bb87b47e47d 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 a7c0b9fc4530a88b491555ec0de96cfced3e1af2..091505760c016037b84550e1e0d851faf21a832c 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 8bf21910b29a5019f8b1d7a70224398e9e0e6f1c..d245b07b269d7d6fd7cae6757edeb4cfac10e003 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 8ea38d118bcb2a8e8e6cb221470b62808303b153..2485cd4c78b02f803916798ad204feb8020cb7ce 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 828ebfb4f00672b0551bc5ac2cb5982501e504bf..61e13de2cc42a86e5e3ff9b8f96ab4d6b6eb58c4 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 7eabd883dc65667c3f1853df256bd743ba3d9782..57b18e381250f5bf01b003e9c131fa7fbd646850 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 629a8830f217ae3a9c73b2873c25623e6ebb1520..d8b74cdf7dbc6571531ebb296d25a2eef232995e 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 7f73caeffb75463209601263b2135d7f55f6275c..cc9b4be1d160b2219d0f0fdade6753cfd90be4fe 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 b97f86fcf557535031b6fe2c46d8e121e805480d..062d0d2c2034ac316f6a4928da5fbd9385ff68e6 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 fd313a6b451fe613f513b594acda6df2121bd602..f25f0f7e27996ee0d5ebdfb67fd115085b0293cd 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 a31860abee15eb5addf4e2aff6acd7aad944df15..b855d5d63b0b1bd377241637005dfd7f93bdbd1a 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 9d1fd5663df251f6127d2bc09cbd07af93a98070..65804e2d21f1bf400dd4225afe4f187d81334229 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 7dd6238ec39417c0310b41f67cf4269ca6a17ee8..5429cca1b8bdbcc97f7e7a6b0afae8ceab86b544 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 b2771b2585d05d9a040ca8512d0a7d2a52cb0a9f..0134a2f3bbad51c2fd1f0b3ede4596b5225d596e 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 a70fc382056f0217d3295595304a268be0cfac57..4f851683ae0a6d517210e116621bfa1dd6a8b1a9 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 }