[arch-commits] Commit in tuxpaint-stamps/trunk (PKGBUILD fixcompilation.patch)

Alexander Rødseth arodseth at archlinux.org
Wed Sep 27 11:25:48 UTC 2017


    Date: Wednesday, September 27, 2017 @ 11:25:47
  Author: arodseth
Revision: 260657

upgpkg: tuxpaint-stamps 2014.08.23-1

Modified:
  tuxpaint-stamps/trunk/PKGBUILD
Deleted:
  tuxpaint-stamps/trunk/fixcompilation.patch

----------------------+
 PKGBUILD             |   27 ++++++++++-----------------
 fixcompilation.patch |   13 -------------
 2 files changed, 10 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-27 11:12:49 UTC (rev 260656)
+++ PKGBUILD	2017-09-27 11:25:47 UTC (rev 260657)
@@ -1,31 +1,24 @@
 # $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
 # Contributor: royrocks <royrocks13 at gmail.com>
 
 pkgname=tuxpaint-stamps
-pkgver=2009.06.28
-pkgrel=4
+pkgver=2014.08.23
+pkgrel=1
 pkgdesc='Additional stamps for Tux Paint'
 arch=('any')
-url='http://www.tuxpaint.org'
+url='http://tuxpaint.org/'
 license=('GPL')
-depends=('tuxpaint')
-source=("http://downloads.sourceforge.net/tuxpaint/$pkgname-$pkgver.tar.gz"
-        fixcompilation.patch)
-sha256sums=('271d9a5739d24b6dcee751bf8c889eecb3beb3ff67f5a870dba5d7732dca3e68'
-            '8ead71fe71d8ee773a48c908d76e5e4f72eaca7a86e0ef2c9839cc83af49fa12')
+optdepends=('tuxpaint')
+source=("https://downloads.sourceforge.net/tuxpaint/$pkgname-$pkgver.tar.gz")
+sha256sums=('d8005d57b08f18b54df5a1baf86f09268278d1252de6b193119713f265e61466')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  patch -Np1 -i $srcdir/fixcompilation.patch
-  make PREFIX=/usr
+  make -C "$pkgname-$pkgver" PREFIX=/usr
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make DATA_PREFIX=$pkgdir/usr/share/tuxpaint/ install-all
+  make -C "$pkgname-$pkgver" DATA_PREFIX="$pkgdir/usr/share/tuxpaint/" install-all
 }
 
-# vim:set ts=2 sw=2 et:
+# vim:ts=2 sw=2 et:

Deleted: fixcompilation.patch
===================================================================
--- fixcompilation.patch	2017-09-27 11:12:49 UTC (rev 260656)
+++ fixcompilation.patch	2017-09-27 11:25:47 UTC (rev 260657)
@@ -1,13 +0,0 @@
---- src/tuxpaint-stamps-2009.06.28/Makefile	2006-09-10 21:06:55.000000000 +0200
-+++ tuxpaint-stamps-2009.06.28/Makefile	2011-11-04 11:16:22.956864808 +0100
-@@ -79,9 +79,7 @@
- 	@rm -rf "build/tuxpaint-stamps-$(VER_DATE)" "build/tuxpaint-stamps-$(VER_DATE).tar.gz"
- 	@-if [ -d build ] ; then rmdir build ; fi
- 
--releasedir: build/tuxpaint-stamps-$(VER_DATE)
--
--build/tuxpaint-stamps-$(VER_DATE):
-+releasedir:
- 	@echo
- 	@echo "Creating release directory"
- 	@echo



More information about the arch-commits mailing list