summaryrefslogtreecommitdiff
path: root/libre/sdl-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-09 03:06:37 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-09 03:06:37 -0200
commitf1dadf2f89218522fa6c412bdd0b73137b88b5ff (patch)
treecf2686ec9bd61cd21806365275fb58e943375198 /libre/sdl-libre/PKGBUILD
parente0ac080b039778a847bcaba3f9c4d2d93055ad53 (diff)
downloadabslibre-f1dadf2f89218522fa6c412bdd0b73137b88b5ff.tar.gz
abslibre-f1dadf2f89218522fa6c412bdd0b73137b88b5ff.tar.bz2
abslibre-f1dadf2f89218522fa6c412bdd0b73137b88b5ff.zip
sdl-libre: move default patches to source instead of mksource
Diffstat (limited to 'libre/sdl-libre/PKGBUILD')
-rw-r--r--libre/sdl-libre/PKGBUILD30
1 files changed, 17 insertions, 13 deletions
diff --git a/libre/sdl-libre/PKGBUILD b/libre/sdl-libre/PKGBUILD
index a25558a7e..a8db7241f 100644
--- a/libre/sdl-libre/PKGBUILD
+++ b/libre/sdl-libre/PKGBUILD
@@ -22,30 +22,34 @@ optdepends=('alsa-lib: ALSA audio driver'
'libpulse: PulseAudio audio driver')
options=('staticlibs')
mksource=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
- sdl-1.2.14-fix-mouse-clicking.patch
- sdl-1.2.14-disable-mmx.patch
- fix_joystick_misc_axes.diff
- libsdl-1.2.15-resizing.patch
- sdl_x11sym.patch
libre.patch)
-source=https://repo.parabolagnulinux.org/sources/SDL-libre-${pkgver}.tar.gz
+source=(https://repo.parabolagnulinux.org/sources/SDL-libre-${pkgver}.tar.gz
+ sdl-1.2.14-fix-mouse-clicking.patch
+ sdl-1.2.14-disable-mmx.patch
+ fix_joystick_misc_axes.diff
+ libsdl-1.2.15-resizing.patch
+ sdl_x11sym.patch)
mkmd5sums=('9d96df8417572a2afb781a7c4c811a85'
- '04d8c179f125e04bcd4c9d60e013c2d7'
- 'e5c16b7611f62c7cb25f0534eff68852'
- '687586a108b597a2a6b73070c1d37e51'
- '3dd50347d8856160a9cbd7f80383a1f8'
- '148b285bccee9d21bb96db807363b962'
'5c665f72b8a2adc97a91f6db6f2da79a')
-md5sums=SKIP
+md5sums=('c6e53ef16fa347ed066c3d68fe93c378'
+ '04d8c179f125e04bcd4c9d60e013c2d7'
+ 'e5c16b7611f62c7cb25f0534eff68852'
+ '687586a108b597a2a6b73070c1d37e51'
+ '3dd50347d8856160a9cbd7f80383a1f8'
+ '148b285bccee9d21bb96db807363b962')
mksource() {
cd SDL-$pkgver
+ patch -Np0 -i ../libre.patch
+}
+
+prepare() {
+ cd SDL-$pkgver
patch -Np1 -i ../sdl-1.2.14-fix-mouse-clicking.patch
patch -Np1 -i ../sdl-1.2.14-disable-mmx.patch
patch -Np1 -i ../fix_joystick_misc_axes.diff
patch -Np1 -i ../libsdl-1.2.15-resizing.patch
patch -Np0 -i ../sdl_x11sym.patch
- patch -Np0 -i ../libre.patch
}
build() {