summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4a527ab0e0c8b5a16d2f28ba387aea63e175326 (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
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: Brenton Horne <brentonhorne77 at gmail dot com>

pkgname=moksha
pkgver=0.3.1
pkgrel=1
pkgdesc="A fork of the E17 window manager used by Bodhi Linux."
arch=('i686' 'x86_64')
url="http://mokshadesktop.org"
license=('BSD')
depends=('desktop-file-utils' 'e_dbus' 'efl>1.18' 'xcb-util-keysyms')
optdepends=('acpid: power events on laptop lid close'
            'bc: calculator in everything module'
            'connman: network module'
            'doxygen: build documentation'
            'evas_generic_loaders: provide support for SVG icons'
            'gdb: create backtraces on crash'
            'geoclue2: geolocation module')
provides=('moksha')
conflicts=("enlightenment")
backup=('etc/enlightenment/sysactions.conf'
        'etc/xdg/menus/e-applications.menu')
source=("https://github.com/JeffHoogland/moksha/archive/$pkgver.tar.gz")
sha256sums=('7c275c0141847103af83424b51053c6365416b6706ee8473a6372acf10e4de86')
install='moksha.install'

build() {
  cd $pkgname-$pkgver

  export CFLAGS="$CFLAGS -fvisibility=hidden"

  ./autogen.sh \
    --prefix=/usr \
    --sysconfdir=/etc

  make
  printf "I know this currently fails to build; I do not know how to fix this error.\n If you know how to, please comments the solution on the AUR.\n"
}

package() {
  cd $pkgname-$pkgver

  make DESTDIR="$pkgdir" install
  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}