Skip to content

Instantly share code, notes, and snippets.

@davispuh davispuh/PKGBUILD.patch
Last active Aug 29, 2015

Embed
What would you like to do?
Pacaur PKGBUILD.patch
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,25 +33,25 @@ build() {
package() {
cd "$srcdir/$_gitname"
- mkdir -p $pkgdir/etc/xdg/pacaur
- install -D -m644 ./config $pkgdir/etc/xdg/pacaur/config
- mkdir -p $pkgdir/usr/bin
- install -D -m755 ./pacaur $pkgdir/usr/bin/pacaur
- mkdir -p $pkgdir/usr/share/bash-completion/completions
- install -D -m644 ./bash.completion $pkgdir/usr/share/bash-completion/completions/pacaur
- mkdir -p $pkgdir/usr/share/zsh/site-functions
- install -D -m644 ./zsh.completion $pkgdir/usr/share/zsh/site-functions/_pacaur
- mkdir -p $pkgdir/usr/share/man/man8
- install -D -m644 ./pacaur.8 $pkgdir/usr/share/man/man8/pacaur.8
- mkdir -p $pkgdir/usr/share/locale/{ca,de,es,fr,it,ja,pl,pt,ru,tr}/LC_MESSAGES/
- msgfmt ./po/ca.po -o $pkgdir/usr/share/locale/ca/LC_MESSAGES/pacaur.mo
- msgfmt ./po/de.po -o $pkgdir/usr/share/locale/de/LC_MESSAGES/pacaur.mo
- msgfmt ./po/es.po -o $pkgdir/usr/share/locale/es/LC_MESSAGES/pacaur.mo
- msgfmt ./po/fr.po -o $pkgdir/usr/share/locale/fr/LC_MESSAGES/pacaur.mo
- msgfmt ./po/it.po -o $pkgdir/usr/share/locale/it/LC_MESSAGES/pacaur.mo
- msgfmt ./po/ja.po -o $pkgdir/usr/share/locale/ja/LC_MESSAGES/pacaur.mo
- msgfmt ./po/pl.po -o $pkgdir/usr/share/locale/pl/LC_MESSAGES/pacaur.mo
- msgfmt ./po/pl.po -o $pkgdir/usr/share/locale/pt/LC_MESSAGES/pacaur.mo
- msgfmt ./po/ru.po -o $pkgdir/usr/share/locale/ru/LC_MESSAGES/pacaur.mo
- msgfmt ./po/tr.po -o $pkgdir/usr/share/locale/tr/LC_MESSAGES/pacaur.mo
+ mkdir -p "$pkgdir/etc/xdg/pacaur"
+ install -D -m644 ./config "$pkgdir/etc/xdg/pacaur/config"
+ mkdir -p "$pkgdir/usr/bin"
+ install -D -m755 ./pacaur "$pkgdir/usr/bin/pacaur"
+ mkdir -p "$pkgdir/usr/share/bash-completion/completions"
+ install -D -m644 ./bash.completion "$pkgdir/usr/share/bash-completion/completions/pacaur"
+ mkdir -p "$pkgdir/usr/share/zsh/site-functions"
+ install -D -m644 ./zsh.completion "$pkgdir/usr/share/zsh/site-functions/_pacaur"
+ mkdir -p "$pkgdir/usr/share/man/man8"
+ install -D -m644 ./pacaur.8 "$pkgdir/usr/share/man/man8/pacaur.8 "
+ mkdir -p "$pkgdir/usr/share/locale"/{ca,de,es,fr,it,ja,pl,pt,ru,tr}/LC_MESSAGES/
+ msgfmt ./po/ca.po -o "$pkgdir/usr/share/locale/ca/LC_MESSAGES/pacaur.mo"
+ msgfmt ./po/de.po -o "$pkgdir/usr/share/locale/de/LC_MESSAGES/pacaur.mo"
+ msgfmt ./po/es.po -o "$pkgdir/usr/share/locale/es/LC_MESSAGES/pacaur.mo"
+ msgfmt ./po/fr.po -o "$pkgdir/usr/share/locale/fr/LC_MESSAGES/pacaur.mo"
+ msgfmt ./po/it.po -o "$pkgdir/usr/share/locale/it/LC_MESSAGES/pacaur.mo"
+ msgfmt ./po/ja.po -o "$pkgdir/usr/share/locale/ja/LC_MESSAGES/pacaur.mo"
+ msgfmt ./po/pl.po -o "$pkgdir/usr/share/locale/pl/LC_MESSAGES/pacaur.mo"
+ msgfmt ./po/pl.po -o "$pkgdir/usr/share/locale/pt/LC_MESSAGES/pacaur.mo"
+ msgfmt ./po/ru.po -o "$pkgdir/usr/share/locale/ru/LC_MESSAGES/pacaur.mo"
+ msgfmt ./po/tr.po -o "$pkgdir/usr/share/locale/tr/LC_MESSAGES/pacaur.mo"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.