[arch-commits] Commit in sdl_pango/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Mar 30 21:13:38 UTC 2017


    Date: Thursday, March 30, 2017 @ 21:13:37
  Author: heftig
Revision: 291920

0.1.2-6

Modified:
  sdl_pango/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-30 21:13:18 UTC (rev 291919)
+++ PKGBUILD	2017-03-30 21:13:37 UTC (rev 291920)
@@ -5,28 +5,32 @@
 
 pkgname=sdl_pango
 pkgver=0.1.2
-pkgrel=5
+pkgrel=6
 pkgdesc="Pango SDL binding"
 arch=('i686' 'x86_64')
 url="http://sdlpango.sourceforge.net/"
 license=('LGPL')
 depends=('pango' 'sdl')
-source=(http://downloads.sourceforge.net/sourceforge/sdlpango/SDL_Pango-$pkgver.tar.gz
+source=(https://downloads.sourceforge.net/sourceforge/sdlpango/SDL_Pango-$pkgver.tar.gz
         SDL_Pango-$pkgver-API-adds.patch
         matrix_declarations.patch)
-md5sums=('85bbf9bb7b1cee0538154dadd045418c'
-         '5decf3d7eb724e27548af3142131a2f6'
-         '1067d401f4df54c7eb84ac3fd56ab76f')
+sha256sums=('7f75d3b97acf707c696ea126424906204ebfa07660162de925173cdd0257eba4'
+            '5a989c7acb539fce640323d3995cca8913a4b8869f5c690b78501ec6b5c86d5d'
+            'cfff600cae86bf75070f8921da565210409efba318f45361b34489ac29298bc5')
 
+prepare() {
+  cd SDL_Pango-$pkgver
+  patch -Np0 -i ../SDL_Pango-$pkgver-API-adds.patch
+  patch -Np1 -i ../matrix_declarations.patch
+}
+
 build() {
-  cd $srcdir/SDL_Pango-$pkgver
-  patch -Np0 -i $srcdir/SDL_Pango-$pkgver-API-adds.patch
-  patch -Np1 -i $srcdir/matrix_declarations.patch
+  cd SDL_Pango-$pkgver
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $srcdir/SDL_Pango-$pkgver
-  make DESTDIR=$pkgdir install
+  cd SDL_Pango-$pkgver
+  make DESTDIR="$pkgdir" install
 }


More information about the arch-commits mailing list