blob: 583c88ffe652540655b5e8552f6324314dafaf68 (
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
|
# Contributor: MyMaud <russ@russgibson.org>
# Contributor: skydrome <skydrome@i2pmail.org>
# Maintainer: Frederic Bezies <mymaud@gmail.com>
pkgname=pan-git
_gitname=pan2
pkgver=140.r22.g04f6c89
pkgrel=1
pkgdesc="Pan is a Usenet newsreader that's good at both text and binaries. Development version."
url="http://pan.rebelbase.com/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gmime' 'gnutls' 'enchant' 'gtk3' 'gtkspell3')
makedepends=('git' 'intltool' 'gnome-common')
conflicts=('pan')
provides=('pan')
source=("git://git.gnome.org/$_gitname")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
git describe --long --tags | sed 's/PAN_0_//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_gitname"
./autogen.sh \
--prefix=/usr \
--disable-dependency-tracking \
--with-gmime-crypto \
--with-gnutls \
--with-gtkspell \
--with-gtk3
make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir" install
}
|