arch-ppa/src/libcommuni/PKGBUILD

45 lines
896 B
Bash
Raw Normal View History

2016-11-06 00:52:55 -04:00
# Maintainer: Stephen Brennan <smb196@case.edu>
pkgname=libcommuni
2017-03-13 12:19:25 -04:00
pkgver=3.5.0
2016-11-06 00:52:55 -04:00
pkgrel=1
epoch=
pkgdesc="A cross-platform IRC framework written with Qt."
2017-03-13 12:19:25 -04:00
arch=('any')
2016-11-06 00:52:55 -04:00
url="https://communi.github.io/"
license=('custom')
groups=()
depends=('qt5-declarative')
makedepends=()
checkdepends=()
optdepends=()
provides=($pkgname)
conflicts=($pkgname)
replaces=()
backup=()
options=()
install=
changelog=
source=("libcommuni-v$pkgver.tar.gz::https://github.com/communi/$pkgname/archive/v$pkgver.tar.gz")
noextract=()
2017-03-13 12:19:25 -04:00
md5sums=(2b62f599800962b2350cbd7ca2fc05ae)
2016-11-06 00:52:55 -04:00
validpgpkeys=()
build() {
cd "$pkgname-$pkgver"
qmake
make
}
check() {
cd "$pkgname-$pkgver"
make -k check
}
package() {
cd "$pkgname-$pkgver"
make INSTALL_ROOT="$pkgdir" install
mkdir -p "$pkgdir/usr/share/licenses/${pkgname}/"
install -m644 LICENSE \
"$pkgdir/usr/share/licenses/${pkgname}/"
}