summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5226b08ceee25a0cb8834e9750aef99b8e2ae980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
pkgname=distroflex
pkgver=1.0
pkgrel=2
pkgdesc="Cross-distro settings tool"
arch=('any')
url="https://github.com/AlexVIM1/distroflex"
license=('GPLv3')
makedepends=('qt5-base')
optdepends=(
	'lsb-release: get kernel info'
	'xorg-xrandr: video settings'
	'lm_sensors: get CPU temperature'
	'alsa-lib: sound library'
	'alsa-utils: sound settings'
)
source=("https://github.com/AlexVIM1/distroflex/raw/master/${pkgname}-${pkgver}-${pkgrel}.tar.gz")
md5sums=('80ab03cff3137f786d70564eceb3cbc0')
build() {
	cd "${srcdir}"
    qmake
    make
}
package() {
    cd "${srcdir}"
	mkdir -p "${pkgdir}/usr/bin/"
	mkdir -p "${pkgdir}/usr/share/applications"
	mkdir -p "${pkgdir}/usr/share/pixmaps"
	install -Dm755 distroflex "${pkgdir}/usr/bin"
	install -Dm755 res/distroflex-icon.png "${pkgdir}/usr/share/pixmaps"
	install -Dm755 res/distroflex.desktop "${pkgdir}/usr/share/applications"
}