diff options
author | Filip Parag | 2021-01-14 05:02:43 +0100 |
---|---|---|
committer | Filip Parag | 2021-01-14 05:04:02 +0100 |
commit | 0f4f528cde072bd607d6f4b39d81e09c76e22eb7 (patch) | |
tree | 740044e32dd8f0834a84e97c2091d7c907e864e5 | |
parent | 8d64c57c72234d4891b1fa4fefa3a2699d8d43c5 (diff) | |
download | aur-0f4f528cde072bd607d6f4b39d81e09c76e22eb7.tar.gz |
add window title patch
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | release.diff | 13 |
3 files changed, 21 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = 2048-gui-git pkgdesc = Animated graphical 2048 sliding block puzzle game written in C and SDL2 pkgver = 58.dee05d0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/filiparag/asm2048 arch = any license = MIT @@ -16,8 +16,10 @@ pkgbase = 2048-gui-git provides = 2048-gui conflicts = 2048-gui source = 2048-gui-git-source::git+https://github.com/filiparag/asm2048 + source = release.diff source = https://raw.githubusercontent.com/snwh/paper-icon-theme/master/Paper/512x512/apps/gnome-2048.png sha256sums = SKIP sha256sums = SKIP + sha256sums = SKIP pkgname = 2048-gui-git @@ -3,7 +3,7 @@ _pkgname="2048-gui" pkgname="${_pkgname}-git" pkgver=58.dee05d0 -pkgrel=1 +pkgrel=2 pkgdesc="Animated graphical 2048 sliding block puzzle game written in C and SDL2" arch=('any') url="https://github.com/filiparag/asm2048" @@ -12,8 +12,8 @@ makedepends=('cmake' 'git' 'gcc' 'make') depends=('glibc' 'sdl2' 'sdl2_gfx' 'sdl2_ttf') provides=("${_pkgname}") conflicts=("${_pkgname}") -source=("${pkgname}-source::git+${url}" 'https://raw.githubusercontent.com/snwh/paper-icon-theme/master/Paper/512x512/apps/gnome-2048.png') -sha256sums=('SKIP' 'SKIP') +source=("${pkgname}-source::git+${url}" 'release.diff' 'https://raw.githubusercontent.com/snwh/paper-icon-theme/master/Paper/512x512/apps/gnome-2048.png') +sha256sums=('SKIP' 'SKIP' 'SKIP') pkgver() { cd "${pkgname}-source" @@ -49,7 +49,8 @@ Terminal=false StartupNotify=false Comment=Animated graphical 2048 sliding block puzzle game written in C and SDL2 END - + # Patch upstream with release-specific changes + git apply ../release.diff } build() { diff --git a/release.diff b/release.diff new file mode 100644 index 000000000000..2efd266c3fda --- /dev/null +++ b/release.diff @@ -0,0 +1,13 @@ +diff --git a/src/window/window.c b/src/window/window.c +index 1bd46af..0fb2808 100644 +--- a/src/window/window.c ++++ b/src/window/window.c +@@ -6,7 +6,7 @@ bool window_init(window_store* store) { + return false; + } + store->window = SDL_CreateWindow( +- "asm2048", ++ "2048", + SDL_WINDOW_VULKAN, + SDL_WINDOW_VULKAN, + BOARD_SIZE, |