summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 42aecc50c20d3f63fb748a03dec490050cde1b17 (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
# Maintainer: Chad "crossroads1112" Sharp <crossroads1112@riseup.net>
pkgname=insight-fm
pkgver=0.8.8
pkgrel=1
my_pkgrel=Release-p1
pkgfullname="lumina-${pkgver}-${my_pkgrel}"
pkgdesc="The Lumina Desktop Environment's file manager"
arch=('x86_64' 'i686')
url="https://github.com/pcbsd/lumina"
license=('BSD')
depends=('qt5-base' 'qt5-multimedia' 'qt5-x11extras' 'oxygen' 'oxygen-icons' 'desktop-file-utils' 'qtchooser')
makedepends=('qt5-tools' 'qt5-base')
conflicts=("lumina-de-git" "lumina-desktop" "lumina-desktop-git")
provides=("insight-fm")
source=("https://github.com/pcbsd/lumina/archive/v${pkgver}-${my_pkgrel}.tar.gz")
md5sums=('449332ea59ff55cc1bfcc1a2c5edf1e2')

build(){
    cd $srcdir/${pkgfullname}
    $srcdir/${pkgfullname}/libLumina/make-linux-distro.sh Debian
    for i in lumina-config lumina-desktop lumina-screenshot lumina-xconfig lumina-info; do 
        sed -i "/$i/d" ./lumina.pro
    done
    find $srcdir/${pkgfullname} -name *.desktop -exec sed -i 's/usr\/local/usr/' {} \;
    qmake PREFIX="/usr" QT5LIBDIR=/usr/lib/qt
    make
}

package() {
    cd $srcdir/"${pkgfullname}"
    make INSTALL_ROOT="${pkgdir}" install
}