octoxbps: add desktop file and icons

This commit is contained in:
Jürgen Buchmüller 2015-08-22 20:39:24 +02:00
parent ff55f760ef
commit 85498fb8e0
8 changed files with 20 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Name=OctoXBPS
Comment=GUI frontend for XBPS
Comment[de]=GUI Programm für XBPS
Exec=octoxbps
Icon=octoxbps
Terminal=false
Type=Application
Categories=System;Settings;

Binary file not shown.

View file

@ -1,8 +1,8 @@
# Template file for 'octoxbps'
pkgname=octoxbps
version=0.1.0
revision=1
build_style=gnu-makefile
revision=2
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-declarative-devel qt5-quick1-devel"
depends="curl"
@ -13,9 +13,14 @@ homepage="https://github.com/aarnt/octoxbps"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=8680f2a7fc8899ff653bef40ce2e73e345b9e1978abd87ea4e5ae6715575662b
do_configure() {
qmake-qt5
}
do_install() {
vbin bin/${pkgname}
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} octoxbps.png
done
vinstall ${FILESDIR}/octoxbps-128.png 644 usr/share/pixmaps octoxbps.png
}