archrelease: copy trunk to community-any
[ArchLinux/community.git] / pork / repos / community-x86_64 / PKGBUILD
blob91ef6c1889ea1c5001be7bbc1790959042668ef4
1 # Maintainer: Jaroslav Lichtblau <setlemodry@archlinux.org>
2 # Contributor: William Rea <sillywilly@gmail.com>
4 pkgname=pork
5 pkgver=0.99.8.1
6 pkgrel=21
7 pkgdesc="Console-based AOL Instant Messenger & IRC client"
8 arch=('x86_64')
9 url="http://dev.ojnk.net/"
10 license=('GPL')
11 depends=('ncurses' 'perl')
12 source=(https://downloads.sourceforge.net/sourceforge/ojnk/$pkgname-$pkgver.tar.gz{,.asc}
13         fix-format-security.patch
14         perl-5.36.patch)
15 sha256sums=('f0d4cad21017fd75b3c200342c54dd56d9ff7bc38d1e9b3c8ba686ba53d585ed'
16             'SKIP'
17             '1fa4ac8f5571f6a8f5f64da34607fc305be8f1aad9cdc5cfa64a00047a45cdc1'
18             'ff20edc7c939146c43a7cc5a3b95aa91b2fbcc2f908863438d6da9b464f7def3')
19 validpgpkeys=('7A4533F19780BF32793C1820DAD25608075C69BC') # Ryan McCabe (Odin) <odin@numb.org>
21 prepare() {
22   cd $pkgname-$pkgver
23   patch -Np1 -i ../fix-format-security.patch
24   patch -Np1 -i ../perl-5.36.patch
27 build() {
28   cd $pkgname-$pkgver
30   CFLAGS+=' -fgnu89-inline'
32   ./configure --prefix=/usr
33   make
36 package() {
37   cd $pkgname-$pkgver
39   make DESTDIR="${pkgdir}" install