blob: de08ac247f229c9164ce8aceb9cee84ddc85ae0c (
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
|
# Maintainer: Rajnish Mishra <contact.rajnishmishra@gmail.com>
pkgname=teleport-share-git
_pkgname=teleport
pkgver=0.0.1.r233.d90681d
pkgrel=1
pkgdesc="Send files on the local network"
arch=('x86_64')
url="https://gitlab.gnome.org/jsparber/teleport"
license=('AGPL')
depends=('libsoup' 'avahi' 'gtk3')
makedepends=('git' 'meson')
source=("git+https://gitlab.gnome.org/jsparber/teleport.git")
md5sums=('SKIP')
pkgver() {
cd "${_pkgname}"
v=$(grep -R -A3 '^project(' meson.build | grep 'version:' | cut -d\' -f2)
printf "$v.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${_pkgname}"
sed '/MESONTEST/s/^/#/' -i configure
}
build() {
cd "${_pkgname}"
./configure --prefix=/usr
make
}
check() {
cd "${_pkgname}"
make check
}
package() {
cd "${_pkgname}"
make DESTDIR="$pkgdir/" install
install -Dm644 "${srcdir}/${_pkgname}/LICENSE.md" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE.md"
}
|