blob: 419119acf032693ce50ad1a738eb1392d9441d87 (
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
|
# Maintainer: Samim Pezeshki (psamim) <psamim@gmail.com>
_pkgname=an2linuxserver
pkgname=an2linuxserver-git
pkgver=r2.32c9bb8
pkgrel=1
pkgdesc='Sync android notifications encrypted to a linux desktop with tcp or bluetooth'
url='https://github.com/rootkiwi/an2linuxserver/'
license=('GPL3')
source=('git+https://github.com/rootkiwi/an2linuxserver.git'
'an2linuxserver.service')
sha256sums=('SKIP'
'bbde8724bd49be3f5f7ae38f283aec409ab81347c486f1b484a1e2c0c8026b09')
arch=('any')
depends=('python'
'libnotify'
'python-gobject'
'openssl')
makedepends=('git')
conflicts=('an2linuxserver')
provides=('an2linuxserver')
install=$pkgname.install
pkgver() {
cd "${srcdir}/${_pkgname}"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
package() {
install -Dm755 "${srcdir}/${_pkgname}/an2linuxserver.py" "${pkgdir}/usr/bin/an2linuxserver.py"
install -Dm644 an2linuxserver.service ${pkgdir}/usr/lib/systemd/user/an2linuxserver.service
}
|