summaryrefslogtreecommitdiff
path: root/swaylock-fancy/Pkgfile
blob: 69a0405cc1c38ce954cf94b2300ccaa022af90b8 (plain)
    1 # Description: lock your screen with an actual, blurred screenshot
    2 # URL: https://github.com/Big-B/swaylock-fancy
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: gdk-pixbuf grim imagemagick wlroots xorg-libxkbcommon
    5 
    6 name=swaylock-fancy
    7 version=20211011
    8 release=1
    9 _commit=265fbfb438392339bf676b0a9dbe294abe2a699e
   10 source=(https://github.com/Big-B/swaylock-fancy/archive/$_commit/$name-$version.tar.gz)
   11 
   12 build() {
   13   cd $name-$_commit
   14   make DESTDIR=$PKG install
   15 
   16   sed -i $PKG/usr/bin/$name -e "s!^PREFIX=.*!PREFIX=/usr/share/$name!g"
   17   mkdir -p $PKG/usr/share/$name
   18   cp -r icons $PKG/usr/share/$name
   19 
   20   rm -r $PKG/usr/share/licenses
   21 }

Generated by cgit