summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb00cddfb66d293d3758f3af3192fdaea715052f (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
pkgname=tuxonice-userui
pkgver=1.1.65200132
pkgrel=1
pkgdesc="TuxOnIce userspace user interface"
url="https://github.com/NigelCunningham/Tuxonice-Userui"
license=("GPL")
install=tuxonice-userui.install
arch=('i686' 'x86_64')
depends=('bash' 'libmng' 'libpng' 'freetype2')
makedepends=('')
options=('!makeflags')
source=(
    'https://github.com/gdamjan/Tuxonice-Userui/archive/v'${pkgver}'.tar.gz'
    'initcpio-install'
    'initcpio-hook'
    'pm-utils-hook'
    'systemd-hook'
)


build() {
  cd ${srcdir}/Tuxonice-Userui-${pkgver}
  make USE_FBSPLASH=yes
}

package () {
  cd ${srcdir}/Tuxonice-Userui-${pkgver}

  install -D -m644 $srcdir/initcpio-install $pkgdir/usr/lib/initcpio/install/userui
  install -D -m644 $srcdir/initcpio-hook    $pkgdir/usr/lib/initcpio/hooks/userui
  install -D -m755 $srcdir/pm-utils-hook    $pkgdir/etc/pm/sleep.d/80tuxonice-userui
  install -D -m755 $srcdir/systemd-hook     $pkgdir/usr/lib/systemd/system-sleep/tuxonice-userui.sh

  make INSTDIR=$pkgdir/usr/bin DESTDIR=$pkgdir PREFIX=/usr install
}

md5sums=('dc8fbc3b93e56755694c63c67f388cca'
         'a8e8ecb03e319321713652e25bc34a98'
         '96a359994273ab0e8baa198914ef0433'
         '9f647880008584b7751c3f9ecec7945b'
         '44dcb2f1318ecac4155e275d28f1f443')