Skip to content
Snippets Groups Projects
Commit cfe87738 authored by Ariadne Conill's avatar Ariadne Conill
Browse files

community/portablexdr: update config.sub, modernize

parent d4c23569
No related branches found
No related tags found
No related merge requests found
...@@ -21,8 +21,9 @@ builddir="$srcdir"/portablexdr-$pkgver ...@@ -21,8 +21,9 @@ builddir="$srcdir"/portablexdr-$pkgver
prepare() { prepare() {
cd "$builddir" cd "$builddir"
default_prepare || return 1 default_prepare
update_config_guess || return 1 update_config_guess
update_config_sub
} }
build() { build() {
...@@ -31,15 +32,14 @@ build() { ...@@ -31,15 +32,14 @@ build() {
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--infodir=/usr/share/info \ --infodir=/usr/share/info \
--localstatedir=/var \ --localstatedir=/var
|| return 1
make || return 1 make
} }
package() { package() {
cd "$builddir" cd "$builddir"
make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install
ln -s portable-rpcgen "$pkgdir"/usr/bin/rpcgen ln -s portable-rpcgen "$pkgdir"/usr/bin/rpcgen
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment