blob: a10e9057d237dd8527b4c6650005d0e78dc6b661 (
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
|
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: MyMaud <russ@russgibson.org>
# Contributor: skydrome <skydrome@i2pmail.org>
# Contributor: Mike Pento <mpento darkforge net>
pkgname=pan-git
_gitname=pan
pkgver=v0.160.r13.g7830f38
pkgrel=1
epoch=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=('gmime3' 'gtkspell3')
makedepends=('git' 'intltool' 'cmake')
conflicts=('pan')
provides=('pan')
source=("git+https://gitlab.gnome.org/GNOME/$_gitname.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
git describe --long --tags | sed 's/PAN_//;s/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/_/./g'
}
build() {
cd "$srcdir/$_gitname"
mkdir build
cmake -B build
cmake --build build
}
package() {
cd "$srcdir/$_gitname"
cmake --install build $DESTDIR --prefix "$pkgdir/usr"
}
|