[arch-commits] Commit in sdl_ttf/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Mar 30 21:09:56 UTC 2017
Date: Thursday, March 30, 2017 @ 21:09:55
Author: heftig
Revision: 291915
2.0.11-4
Modified:
sdl_ttf/trunk/PKGBUILD
----------+
PKGBUILD | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-30 21:07:22 UTC (rev 291914)
+++ PKGBUILD 2017-03-30 21:09:55 UTC (rev 291915)
@@ -5,30 +5,32 @@
pkgname=sdl_ttf
pkgver=2.0.11
-pkgrel=3
+pkgrel=4
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications"
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://www.libsdl.org/projects/SDL_ttf/"
-depends=('sdl>=1.2.12' 'freetype2')
-source=(http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz
+url="https://www.libsdl.org/projects/SDL_ttf/"
+arch=(i686 x86_64)
+license=(custom)
+depends=('sdl>=1.2.12' freetype2)
+source=(https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-$pkgver.tar.gz
bug1433.patch)
-md5sums=('61e29bd9da8d245bc2471d1b2ce591aa'
- 'f847697e18eec539aaf3ffb96996abbf')
+sha256sums=('724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7'
+ '4baea703454b9bca9498a920485552f1b8489a5007f8f1366080b14a4cd74c90')
+prepare() {
+ cd SDL_ttf-$pkgver
+
+ # Fix FS#28674
+ patch -Ni ../bug1433.patch
+}
+
build() {
- cd "$srcdir/SDL_ttf-$pkgver"
-
- # Fix FS#28674
- patch -Ni "$srcdir/bug1433.patch"
-
+ cd SDL_ttf-$pkgver
./configure --prefix=/usr --disable-static
make
}
package() {
- cd "$srcdir/SDL_ttf-$pkgver"
+ cd SDL_ttf-$pkgver
make DESTDIR="$pkgdir" install
-
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list