Want more features on Pastebin? Sign Up, it's FREE!
Guest

plymouth

By: a guest on Sep 26th, 2013  |  syntax: Bash  |  size: 1.71 KB  |  views: 77  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=plymouth
  2. pkgver=0.8.8.41.g5277809
  3. arch=("i686" "x86_64")
  4. pkgrel=1
  5. pkgdesc="A graphical boot splash screen with kernel mode-setting support (Git verson for now)"
  6. url="http://cgit.freedesktop.org/cgit/plymouth/"
  7. license=("GPL")
  8. depends=("libdrm" "pango" "systemd")
  9. makedepends=("git")
  10. optdepends=("ttf-dejavu")
  11. backup=("etc/plymouth/plymouthd.conf")
  12. options=("!libtool" "!emptydirs")
  13. conflicts=("plymouth-git")
  14. source=("git://anongit.freedesktop.org/plymouth" "plymouth.hook" "plymouth.install" "plymouth-encrypt.hook" "plymouth-encrypt.install")
  15. md5sums=("SKIP" "SKIP" "SKIP" "SKIP" "SKIP")
  16.  
  17. pkgver() {
  18.         cd "${srcdir}/plymouth"
  19.         git describe --always | sed "s/-/./g"
  20. }
  21.  
  22. build() {
  23.         cd "${srcdir}/plymouth"
  24.         ./autogen.sh --prefix=/usr \
  25.                 --exec-prefix=/usr \
  26.                 --sysconfdir=/etc \
  27.                 --localstatedir=/var \
  28.                 --libdir=/usr/lib \
  29.                 --libexecdir=/usr/lib \
  30.                 --sbindir=/usr/bin \
  31.                 --enable-drm-renderer \
  32.                 --enable-systemd-integration \
  33.                 --enable-pango \
  34.                 --with-boot-tty=/dev/tty7 \
  35.                 --with-shutdown-tty=/dev/tty7 \
  36.                 --without-system-root-install
  37.         make
  38. }
  39.  
  40. check() {
  41.         cd "${srcdir}/plymouth"
  42.         make -k check
  43. }
  44.  
  45. package() {
  46.         cd "${srcdir}/plymouth"
  47.         make DESTDIR="$pkgdir" install
  48.  
  49.         # remove non-arch script
  50.         rm "$pkgdir/usr/lib/plymouth/"*-initrd
  51.         rm "$pkgdir/usr/bin/plymouth-set-default-theme"
  52.  
  53.         # initcpio
  54.         install -Dm644 "${srcdir}/plymouth.hook" "$pkgdir/usr/lib/initcpio/hooks/plymouth"
  55.         install -Dm644 "${srcdir}/plymouth.install" "$pkgdir/usr/lib/initcpio/install/plymouth"
  56.         install -Dm644 "${srcdir}/plymouth-encrypt.hook" "$pkgdir/usr/lib/initcpio/hooks/plymouth-encrypt"
  57.         install -Dm644 "${srcdir}/plymouth-encrypt.install" "$pkgdir/usr/lib/initcpio/install/plymouth-encrypt"
  58. }
clone this paste RAW Paste Data