summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1576ff96f7a9c9fefbf7032fd4a21ba79e6e24d (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
46
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Giampaolo Mancini <mancho@trmpln.com> 
pkgname=mqtt-sn-tools
pkgver=0.0.6
pkgrel=1
epoch=
pkgdesc="Command line tools written in C for the MQTT-SN (MQTT For Sensor Networks) protocol"
arch=("x86_64" "armv7h")
url="Command line tools written in C for the MQTT-SN (MQTT For Sensor Networks) protocol "
license=('MIT' 'custom:LICENSE.md')
groups=()
depends=("glibc")
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/njh/mqtt-sn-tools/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
noextract=()
sha256sums=("107d762dcd9fe01dc2229dab480765224f10b027cb6dcb273a7a0987298c788a")
validpgpkeys=()

prepare() {
	cd "$pkgname-$pkgver"
}

build() {
	cd "$pkgname-$pkgver"
	make
}

package() {
	cd "$pkgname-$pkgver"
        
	make prefix="usr" DESTDIR="$pkgdir/" install
        install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
}