Create a gist now

Instantly share code, notes, and snippets.

@M0Rf30 /PKGBUILD
Last active Feb 5, 2016

What would you like to do?
--- a/fbsplash/ttf.c 2016-02-05 02:59:17.104693294 +0100
+++ b/fbsplash/ttf.c 2016-02-05 02:59:26.180579829 +0100
@@ -28,7 +28,7 @@
#include <ft2build.h>
#include FT_FREETYPE_H
-#include <ftoutln.h>
+#include <freetype/ftoutln.h>
#include "splash.h"
pkgname=tuxonice-userui
pkgver=1.1.2.2332823e0a
pkgrel=2
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'
patch
)
build() {
cd ${srcdir}/Tuxonice-Userui-${pkgver}
patch -Np1 -i ../patch
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=('729ea7919c08ad2218eb961d1f4a780d'
'a8e8ecb03e319321713652e25bc34a98'
'96a359994273ab0e8baa198914ef0433'
'9f647880008584b7751c3f9ecec7945b'
'44dcb2f1318ecac4155e275d28f1f443'
'376b7e9a22251a0865a4e71af0158dd6')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment