summaryrefslogtreecommitdiff
path: root/user/dotconf/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 08:18:35 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 08:18:35 -0600
commitc2fcbc6f90b5835a6786e18ddeba96a8c9ec5f2c (patch)
tree668eb2245d553689f86d47e1a0d1f722eb9af2c3 /user/dotconf/APKBUILD
parent1a54b529519b09afe9b5e0160e60e05c0920b2c9 (diff)
downloadpackages-c2fcbc6f90b5835a6786e18ddeba96a8c9ec5f2c.tar.gz
packages-c2fcbc6f90b5835a6786e18ddeba96a8c9ec5f2c.tar.bz2
packages-c2fcbc6f90b5835a6786e18ddeba96a8c9ec5f2c.tar.xz
packages-c2fcbc6f90b5835a6786e18ddeba96a8c9ec5f2c.zip
user/dotconf: Fix multiple issues
* distfiles.gentoo.org does not support HTTPS any more. * Split -doc before -dev so that example .c files aren't considered -dev. * Modernise / fix syntax.
Diffstat (limited to 'user/dotconf/APKBUILD')
-rw-r--r--user/dotconf/APKBUILD8
1 files changed, 2 insertions, 6 deletions
diff --git a/user/dotconf/APKBUILD b/user/dotconf/APKBUILD
index 54f08fa92..5ea71278f 100644
--- a/user/dotconf/APKBUILD
+++ b/user/dotconf/APKBUILD
@@ -9,17 +9,15 @@ arch="all"
license="LGPL-2.1-only"
depends=""
makedepends=""
-subpackages="$pkgname-dev $pkgname-doc"
-source="https://distfiles.gentoo.org/distfiles/dotconf-$pkgver.tar.gz"
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://distfiles.gentoo.org/distfiles/dotconf-$pkgver.tar.gz"
prepare() {
- cd "$builddir"
default_prepare
update_config_sub
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -31,12 +29,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}