Advertisement
Guest User

Untitled

a guest
Feb 27th, 2019
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.53 KB | None | 0 0
  1. # Upstream Maintainer: Thorsten Toepper <atsutane at freethoughts dot de>
  2. # Maintainer: Daniel Selinger <daniel@slite.org>
  3.  
  4. pkgname=i3-kde
  5. pkgver=4.16
  6. pkgrel=1
  7. pkgdesc='An improved dynamic tiling window manager (with KDE patches)'
  8. arch=('i686' 'x86_64')
  9. url='http://i3wm.org/'
  10. license=('BSD')
  11. provides=('i3-wm')
  12. conflicts=('i3-wm' 'i3bar')
  13. groups=('i3-vcs')
  14. depends=('xcb-util-keysyms' 'xcb-util-wm' 'libev' 'yajl'
  15.          'startup-notification' 'pango' 'perl' 'xcb-util-cursor'
  16.          'libxkbcommon-x11')
  17. makedepends=('git' 'asciidoc' 'docbook-xsl' 'pkgconfig')
  18. optdepends=('rxvt-unicode: The terminal emulator used in the default config.'
  19.             'dmenu: As menu.'
  20.             'i3lock: For locking your screen.'
  21.             'i3status: To display system information with a bar.'
  22.             'perl-json-xs: For i3-save-tree'
  23.             'perl-anyevent-i3: For i3-save-tree')
  24. options=('docs' '!strip')
  25. source=('https://github.com/sLite/i3.git#branch=kde-master')
  26. sha1sums=('SKIP')
  27.  
  28. _gitname='i3'
  29.  
  30. build() {
  31.   cd "$_gitname"
  32.  
  33.   autoreconf --force --install
  34.  
  35.   rm -rf build
  36.   mkdir -p build && cd build
  37.  
  38.   ../configure \
  39.     --prefix=/usr \
  40.     --sysconfdir=/etc \
  41.     --disable-sanitizers
  42.  
  43.   # See https://lists.archlinux.org/pipermail/arch-dev-public/2013-April/024776.html
  44.   make CPPFLAGS+="-U_FORTIFY_SOURCE"
  45. }
  46.  
  47. package() {
  48.   cd "$_gitname/build"
  49.  
  50.   make DESTDIR="$pkgdir/" install
  51.  
  52.   install -Dm644 ../LICENSE \
  53.     "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  54. }
  55.  
  56.  
  57. # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement