File PKGBUILD of Package iotivity
# 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: Your Name <youremail@domain.com>
pkgname=iotivity
pkgver=0.0.20170426
pkgrel=0
epoch=
pkgdesc=""
arch=('x86_64' 'i686')
url="https://iotivity.org"
license=('Apache-2.0')
groups=()
depends=()
# python
makedepends=('scons'
'gcc' 'patch' 'automake' 'make' 'libtool' 'autoconf' 'pkg-config'
'sqlite'
'unzip' 'sudo' 'grep' 'sed' 'file'
'boost-libs'
'python2'
'python'
)
# boost
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
# "$pkgname-$pkgver.tar.gz"
source=("iotivity_0.0.20170426.orig.tar.xz")
# "$pkgname-$pkgver.patch")
noextract=()
md5sums=('SKIP')
validpgpkeys=()
prepare() {
pwd
ls
}
build() {
cd "$pkgname-$pkgver"
# ./configure --prefix=/usr
make
}
check() {
cd "$pkgname-$pkgver"
make -k check
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}