Skip to content

Instantly share code, notes, and snippets.

@intersectRaven
Created July 9, 2020 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save intersectRaven/51d00cc8fc1386576bc8a6bed4776e4e to your computer and use it in GitHub Desktop.
Save intersectRaven/51d00cc8fc1386576bc8a6bed4776e4e to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index c2546e2..6770e37 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,13 +21,14 @@ changelog=
source=("https://github.com/flukejones/rog-core/archive/v$pkgver.tar.gz"
"install-dir.patch")
-sha256sums=('4150e7d996a3247a8326aace4b4e88baab74e73ef4fba1c4e535b0a7863d75db' '05222bde8ed64f96047f5d7c11a0bbd852ac8e518ddccb0e0cc9c83e661c173a')
+sha256sums=('4150e7d996a3247a8326aace4b4e88baab74e73ef4fba1c4e535b0a7863d75db'
+ '97a2e14a0120832df113a55cfa05f8036f9e94fa206934205a8fb492ba42b8a1')
noextract=()
validpgpkeys=()
prepare()
{
- patch -d "$srcdir" -p1 < install-dir.patch
+ patch -d "$srcdir"/$pkgname-$pkgver -p1 < install-dir.patch
}
build() {
diff --git a/install-dir.patch b/install-dir.patch
index a8bc518..3ab9fa4 100644
--- a/install-dir.patch
+++ b/install-dir.patch
@@ -1,5 +1,5 @@
---- src/rog-core-0.14.4/Makefile 2020-07-07 10:50:09.000000000 +0200
-+++ src/rog-core-0.14.4/Makefile 2020-07-08 11:45:59.863155274 +0200
+--- src/Makefile 2020-07-07 10:50:09.000000000 +0200
++++ src/Makefile 2020-07-08 11:45:59.863155274 +0200
@@ -34,9 +34,9 @@
install: all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment