void-packages/srcpkgs/octoxbps/template

27 lines
835 B
Bash
Raw Normal View History

2015-08-01 20:43:13 +02:00
# Template file for 'octoxbps'
pkgname=octoxbps
version=0.1.0
revision=3
2015-08-22 20:39:24 +02:00
build_style=qmake
2015-08-01 20:43:13 +02:00
hostmakedepends="qt5-qmake"
makedepends="qt5-declarative-devel qt5-quick1-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=8680f2a7fc8899ff653bef40ce2e73e345b9e1978abd87ea4e5ae6715575662b
do_install() {
2015-08-22 20:39:24 +02:00
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
2015-08-22 20:39:24 +02:00
done
vinstall ${FILESDIR}/octoxbps-128.png 644 usr/share/pixmaps octoxbps.png
2015-08-01 20:43:13 +02:00
}