Skip to content

Instantly share code, notes, and snippets.

@focusaurus
Created August 30, 2020 13:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save focusaurus/590904a9bd27ae5d3b005c489f4e9aa1 to your computer and use it in GitHub Desktop.
Save focusaurus/590904a9bd27ae5d3b005c489f4e9aa1 to your computer and use it in GitHub Desktop.
berry-git PKGBUILD fix diff
diff --git PKGBUILD PKGBUILD
index a8a1da2..a476180 100644
--- PKGBUILD
+++ PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc="A healthy, bite-sized window manager written over the XLib Library"
url="https://github.com/JLErvin/berry"
arch=('x86_64')
license=('MIT')
-makedepends=('gcc')
+makedepends=('gcc' 'git')
depends=('libx11')
source=(
"git://github.com/JLErvin/berry.git"
@@ -42,7 +42,8 @@ package() {
mkdir -p "${pkgdir}/${EXAMPLEPREFIX}"
install -D -m644 examples/* "${pkgdir}/etc/xdg/berry/"
+ cd -
# Install berry.desktop
- install -D -m644 berry.desktop "${pkgdir}/usr/share/applications/"
+ install -D -m644 -t "${pkgdir}/usr/share/applications/" berry.desktop
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment