void-packages/srcpkgs/octoxbps/template
2016-06-01 09:46:24 +02:00

26 lines
818 B
Bash

# Template file for 'octoxbps'
pkgname=octoxbps
version=0.2.0
revision=1
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-declarative-devel"
depends="curl"
short_desc="Qt-based XBPS front-end"
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/aarnt/octoxbps"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=919b6dd58801c6e443d05b87478b0cceb39488bb2cf15493bebabb7fce2e007e
do_install() {
vbin bin/octoxbps
vmkdir usr/share/applications
vinstall ${FILESDIR}/octoxbps.desktop 644 usr/share/applications
local size
for size in 32 48 64 128 256; do
vinstall ${FILESDIR}/octoxbps-${size}.png 644 \
usr/share/icons/hicolor/${size}x${size}/apps octoxbps.png
done
vinstall ${FILESDIR}/octoxbps-128.png 644 usr/share/pixmaps octoxbps.png
}