mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 19:32:57 +02:00
octoxbps: build/install notifier
This commit is contained in:
parent
11682f7801
commit
be08db4932
1 changed files with 19 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'octoxbps'
|
# Template file for 'octoxbps'
|
||||||
pkgname=octoxbps
|
pkgname=octoxbps
|
||||||
version=0.2.0
|
version=0.2.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
hostmakedepends="qt5-qmake"
|
hostmakedepends="qt5-qmake"
|
||||||
makedepends="qt5-declarative-devel"
|
makedepends="qt5-declarative-devel"
|
||||||
|
@ -13,8 +13,26 @@ homepage="https://github.com/aarnt/octoxbps"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=919b6dd58801c6e443d05b87478b0cceb39488bb2cf15493bebabb7fce2e007e
|
checksum=919b6dd58801c6e443d05b87478b0cceb39488bb2cf15493bebabb7fce2e007e
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
for _dir in ${wrksrc} ${wrksrc}/notifier/octoxbps-notifier; do
|
||||||
|
cd $_dir && qmake ${configure_args} \
|
||||||
|
PREFIX=/usr \
|
||||||
|
LIB=/usr/lib \
|
||||||
|
QMAKE_CFLAGS="${CFLAGS}" \
|
||||||
|
QMAKE_CXXFLAGS="${CXXFLAGS}" \
|
||||||
|
QMAKE_LFLAGS="${LDFLAGS}"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
for _dir in ${wrksrc} ${wrksrc}/notifier/octoxbps-notifier; do
|
||||||
|
cd $_dir && make ${makejobs} ${make_build_args} ${make_build_target}
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin bin/octoxbps
|
vbin bin/octoxbps
|
||||||
|
vbin notifier/bin/octoxbps-notifier
|
||||||
vmkdir usr/share/applications
|
vmkdir usr/share/applications
|
||||||
vinstall ${FILESDIR}/octoxbps.desktop 644 usr/share/applications
|
vinstall ${FILESDIR}/octoxbps.desktop 644 usr/share/applications
|
||||||
local size
|
local size
|
||||||
|
|
Loading…
Add table
Reference in a new issue