mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/silc-client: move conf to /etc and cleanup
This commit is contained in:
parent
f5fa610613
commit
5e2e01a2d4
@ -2,38 +2,33 @@
|
||||
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
|
||||
pkgname=silc-client
|
||||
pkgver=1.1.11
|
||||
pkgrel=9
|
||||
pkgrel=10
|
||||
pkgdesc="Secure Internet Live Conferencing - client"
|
||||
url="http://silcnet.org/"
|
||||
arch="all"
|
||||
license="GPL"
|
||||
depends=""
|
||||
depends_dev="glib-dev openssl-dev perl-dev ncurses-dev"
|
||||
makedepends="$depends_dev file"
|
||||
install=""
|
||||
license="GPL-2.0-only"
|
||||
makedepends="file glib-dev openssl-dev perl-dev ncurses-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://downloads.sourceforge.net/project/silc/silc/client/sources/${pkgname}-${pkgver}.tar.gz"
|
||||
source="https://downloads.sourceforge.net/project/silc/silc/client/sources/silc-client-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir/${pkgname}-${pkgver}"
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
update_config_guess || return 1
|
||||
default_prepare
|
||||
|
||||
update_config_guess
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
./configure --prefix=/usr
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR=$pkgdir install
|
||||
rm $pkgdir/usr/lib/perl5/core_perl/perllocal.pod
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user