desktop/ocs-url/PKGBUILD
2018-07-06 03:44:59 +02:00

30 lines
686 B
Bash

pkgname=ocs-url
pkgver=3.1.0
pkgrel=1
pkgdesc="An install helper program for items served on OpenCollaborationServices (OCS). Replacing xdgurl"
arch=('x86_64')
url="https://www.opencode.net/OCS/ocs-url"
license=('GPL3')
depends=('qt5-base' 'qt5-svg' 'qt5-declarative' 'qt5-quickcontrols')
conflicts=('xdgurl')
provides=('xdgurl')
replaces=('xdgurl')
source=("$pkgname-$pkgver::$url/archive/release-$pkgver.tar.gz")
sha256sums=('096a1af51378cabb29426869db29f6efffaa4ccd4b8628046408d1084f2f415a')
prepare() {
cd $pkgname
sh scripts/prepare
}
build() {
cd $pkgname
qmake-qt5 PREFIX="/usr"
make
}
package() {
cd $pkgname
make INSTALL_ROOT="$pkgdir" install
}