Verified Commit c2fcbc6f authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

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.
parent 1a54b529
......@@ -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
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment