desuck

desuck - mrgrouse's suckless desktop environment based on their forks of suckless' X utilities.
Log | Files | Refs | Submodules

PKGBUILD (818B)


      1 # Maintainer: Mrgrouse <mrgrouse at duck dot com>
      2 pkgname=desuck-git
      3 pkgver=r0
      4 pkgrel=2
      5 pkgdesc="desuck, a desktop environment* based on my forks of suckless utilities"
      6 arch=('any')
      7 url="https://git.mrgrouse.com/mrgrouse/desuck"
      8 license=('MIT')
      9 depends=('pacman>=4.1.2' 'git' 'libx11' 'libxinerama' 'libxft' 'freetype2')
     10 replaces=('dwm')
     11 conflicts=('dwm')
     12 
     13 # template input; name=git
     14 
     15 package() {
     16   cd "$_gitname"
     17   install -m644 -Dt "$pkgdir/usr/share/doc/$pkgname/" README.md PKGBUILD
     18   local destdir="$pkgdir/usr/share/makepkg-template"
     19   find -iname '*.template' -type f -exec install -m644 -Dt "$destdir" '{}' +
     20   cd "$destdir"
     21   for file in *
     22   do
     23     ln -s $file ${file%-*.template}.template
     24   done
     25 }
     26 build() {
     27   git clone --recursive https://git.mrgrouse.com/mrgrouse/desuck src
     28   cd src
     29   sudo make install
     30 }