summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff0d85029581162885252e3054c4d3eaea10b5a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: aksr <aksr at t-com dot me>
pkgname=epic5
pkgver=2.0
pkgrel=1
epoch=
pkgdesc="Enhanced Programmable ircII Client"
arch=('i686' 'x86_64')
url="http://www.epicsol.org/"
license=('custom')
groups=()
depends=('libarchive' 'ncurses' 'openssl' 'perl' 'tcl')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/$pkgname-$pkgver.tar.gz")
noextract=()
md5sums=('43ae665bf59347c387b747c59c41b8ab')
sha1sums=('8ff73f2a01c63fb48d5b9b8cccb3ee9a86de4517')
sha256sums=('b80b7b301f030ba70b2e2cb0f23f2138e3fd546c03a2b7d53f2ee07541750377')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ## ICONV problem
  unset CPPFLAGS
  ./configure --prefix=/usr \
      --with-ssl --with-ipv6 --with-perl --with-tcl \
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make prefix="$pkgdir/usr" libexecdir="$pkgdir/usr/bin" \
      mandir="$pkgdir/usr/share/man" infodir="/usr/share/info" install
  install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
  #mkdir -p $pkgdir/usr/share/doc/$pkgname
  #cp -r doc/* $pkgdir/usr/share/doc/$pkgname/
}