diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -10,14 +10,21 @@ depends=('glfw') makedepends=('git') provides=("${pkgname%-VCS}") conflicts=("${pkgname%-VCS}") -source=("$pkgname::git+https://github.com/patriciogonzalezvivo/glslViewer") -md5sums=('SKIP') +source=("$pkgname::git+https://github.com/patriciogonzalezvivo/glslViewer" + 'floating_wm_workaround.patch') +md5sums=('SKIP' + '0d5e68722253fd33a25e57d7e2405a5c') pkgver() { cd "$srcdir/${pkgname%-VCS}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "$srcdir/${pkgname%-VCS}" + patch -p1 -i "$srcdir/floating_wm_workaround.patch" +} + build() { cd "$srcdir/${pkgname%-VCS}" make |