diff --git a/srcpkgs/octoxbps/files/octoxbps-128.png b/srcpkgs/octoxbps/files/octoxbps-128.png new file mode 100644 index 00000000000..2613cf99718 Binary files /dev/null and b/srcpkgs/octoxbps/files/octoxbps-128.png differ diff --git a/srcpkgs/octoxbps/files/octoxbps-256.png b/srcpkgs/octoxbps/files/octoxbps-256.png new file mode 100644 index 00000000000..3fca6a4583a Binary files /dev/null and b/srcpkgs/octoxbps/files/octoxbps-256.png differ diff --git a/srcpkgs/octoxbps/files/octoxbps-32.png b/srcpkgs/octoxbps/files/octoxbps-32.png new file mode 100644 index 00000000000..2e3b2eb4260 Binary files /dev/null and b/srcpkgs/octoxbps/files/octoxbps-32.png differ diff --git a/srcpkgs/octoxbps/files/octoxbps-48.png b/srcpkgs/octoxbps/files/octoxbps-48.png new file mode 100644 index 00000000000..7ba29620ae9 Binary files /dev/null and b/srcpkgs/octoxbps/files/octoxbps-48.png differ diff --git a/srcpkgs/octoxbps/files/octoxbps-64.png b/srcpkgs/octoxbps/files/octoxbps-64.png new file mode 100644 index 00000000000..2d9db318fd1 Binary files /dev/null and b/srcpkgs/octoxbps/files/octoxbps-64.png differ diff --git a/srcpkgs/octoxbps/files/octoxbps.desktop b/srcpkgs/octoxbps/files/octoxbps.desktop new file mode 100644 index 00000000000..67baec75ef3 --- /dev/null +++ b/srcpkgs/octoxbps/files/octoxbps.desktop @@ -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; diff --git a/srcpkgs/octoxbps/files/octoxbps.xcf b/srcpkgs/octoxbps/files/octoxbps.xcf new file mode 100644 index 00000000000..b63a39722b4 Binary files /dev/null and b/srcpkgs/octoxbps/files/octoxbps.xcf differ diff --git a/srcpkgs/octoxbps/template b/srcpkgs/octoxbps/template index 432b32ae21d..f6bbf8b659a 100644 --- a/srcpkgs/octoxbps/template +++ b/srcpkgs/octoxbps/template @@ -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 }