summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47ab68096a61760065fc0a63bdd8a5f2460d18da (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
#Maintainer: Arnaud Joset <info [AT] agayon [DOT] be>

pkgname=('sat-media-hg')
_realname=sat_media
pkgver=0.7.r77.7bc307f36741
_version=0.7
pkgrel=1
url="https://salut-a-toi.org/"
arch=('any')
conflicts=('sat-media')
provides=('sat-media')
license=('AGPL3')
source=("hg+https://repos.goffi.org/sat_media")
md5sums=('SKIP')
options=('!strip')

pkgver() {
  cd "$_realname"
  printf "$_version.r%s.%s" "$(hg identify -n)" "$(hg identify -i)" 
}
                 
package(){
    pkgdesc="Salut à Toi, multi-frontends multi-purposes XMPP client (media files)"
    cd "$pkgdir"
    install -dm755 usr/share/sat/media/
    cd "$srcdir/$_realname"
    cp -rv * $pkgdir/usr/share/sat/media/

}