diff options
Diffstat (limited to 'desktop/compton/compton.SlackBuild')
-rw-r--r-- | desktop/compton/compton.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/desktop/compton/compton.SlackBuild b/desktop/compton/compton.SlackBuild index a72d5cb66e..4caf3792ed 100644 --- a/desktop/compton/compton.SlackBuild +++ b/desktop/compton/compton.SlackBuild @@ -22,7 +22,7 @@ # not, see <http://www.gnu.org/licenses/>. PRGNAM="compton" -VERSION=${VERSION:-316eac0613bf342ff91cc645a6c3c80e6b9083fb} +VERSION=${VERSION:-5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,19 +68,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make || exit 1 -make install DESTDIR=$PKG +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +meson --prefix=/usr --buildtype=release . build +DESTDIR=$PKG ninja -C build install find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mv $PKG/usr/share/man $PKG/usr/man -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +install -D -m 0644 $PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -ar \ - desc.txt dbus-examples compton.sample.conf LICENSE \ + desc.txt dbus-examples compton.sample.conf COPYING LICENSES \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |