summaryrefslogtreecommitdiff
path: root/frozen-bubble/Pkgfile
blob: b94133b582771fd5399c2d4e61fb3933a292d2f6 (plain)
    1 # Description: Shoot balls and get 3 of the same colour in a group to make them drop.
    2 # URL: http://www.frozen-bubble.org/
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: p5-compress-bzip2 p5-file-slurp p5-ipc-system-simple p5-locale-maketext-lexicon p5-sdl
    5 
    6 name=frozen-bubble
    7 version=2.2.1
    8 release=1
    9 source=(https://github.com/kthakore/frozen-bubble/archive/$version/$name-$version.tar.gz
   10 	fix-buffer-size-when-formatting-current-date.patch
   11 	$name.desktop)
   12 
   13 build() {
   14 	cd $name-$version
   15 
   16 	# https://bugzilla.redhat.com/show_bug.cgi?id=1541359
   17 	patch -p1 -i $SRC/fix-buffer-size-when-formatting-current-date.patch
   18 
   19 	sed -e 's|-Werror||' -i inc/My/Builder.pm
   20 
   21 	perl Build.PL installdirs=vendor
   22 	perl Build
   23 	perl Build install destdir="$PKG"
   24 
   25 	chmod -R u+w $PKG
   26 	
   27 	install -D -m 0644 share/icons/frozen-bubble-icon-64x64.png \
   28 		$PKG/usr/share/pixmaps/frozen-bubble.png
   29 
   30 	install -D -m 0644 $SRC/frozen-bubble.desktop \
   31 		$PKG/usr/share/applications/frozen-bubble.desktop
   32 
   33 	find $PKG \( -name '.packlist' -o -name '*.bs' \) -delete
   34 }

Generated by cgit