blob: 24c5f9a86caa592b78b2352f271cdf4557d3580d (
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
44
45
|
# Maintainer: syfds <github.com/syfds>
# Contributor: MvBonin <github.com/MvBonin>
_pkgname=soundy
pkgname=$_pkgname-git
pkgbase=$pkgname
pkgver=r223.6f7aca3
pkgrel=1
pkgdesc="Simple GTK client to control your Bose SoundTouch speaker - Development version"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/syfds/soundy"
license=('GPL-3.0')
depends=('gtk3' 'granite' 'glib2' 'libsoup' 'libxml2' 'avahi')
makedepends=('git' 'meson')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
options=('debug')
source=("git+https://github.com/syfds/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd ${srcdir}/${_pkgname}
echo "r$(git rev-list --count HEAD).$(git describe --always)"
}
build() {
cd "$_pkgname"
export CFLAGS="$CFLAGS -fvisibility=hidden"
rm -rf build
meson --prefix=/usr \
. build
ninja -C build
}
package(){
cd "$_pkgname"
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 -t"$pkgdir/usr/share/doc/$_pkgname/" README.md
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
|