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 merge requests found
......@@ -21,8 +21,9 @@ builddir="$srcdir"/portablexdr-$pkgver
prepare() {
cd "$builddir"
default_prepare || return 1
update_config_guess || return 1
default_prepare
update_config_guess
update_config_sub
}
build() {
......@@ -31,15 +32,14 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
--localstatedir=/var
make || return 1
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
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