summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeeweep2019-09-28 02:46:38 +0800
committerpeeweep2019-09-28 02:46:38 +0800
commitd30ff0613808e7ee8fbcd4f5dfca692f8c6bb33c (patch)
treea5c4eecf7c2846c9708c04b2d5f0d581dab17287
parent107b4d2b30fb43737b95d1e00c9a8b668a579c18 (diff)
downloadaur-d30ff0613808e7ee8fbcd4f5dfca692f8c6bb33c.tar.gz
Move to /usr/share/beef
-rw-r--r--PKGBUILD14
-rw-r--r--beef-git.install4
-rw-r--r--beef-git.sh2
3 files changed, 10 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dfb2b3f862f..db54c94b1c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,8 +19,8 @@ source=("${pkgname}::git+${_url}.git"
install=${pkgname}.install
sha256sums=('SKIP'
'417e0c0c5f0b7004373e9bd6a232e6befc5be50fc6f4f5c7b9bf19b15fe3ee68'
- '3c70f6d41cf6454ffedd58c9ab6c498578e72f0e46a35c032053cad88efe9b7c'
- 'cf7585979b47269576aaf915d923ae2b7e2fcf0d64fff1ec702763fad13a3d51')
+ 'ba866d77f4dfd95685a34ca7a00482dc35f20b7101e1c9de5975e776341c6653'
+ '98d72df13e4f61271afd623070a5e81c9edf2e5b4f39d71b45f3279e255649a0')
pkgver() {
cd "${srcdir}/${pkgname}"
@@ -45,13 +45,13 @@ build() {
}
package() {
- # cp -r src/beef-git/* pkg/etc/beef
- install -d "${pkgdir}/etc/${_pkgname}"
- cp -r "${srcdir}/${pkgname}"/* "${pkgdir}/etc/${_pkgname}"
+ # cp -r src/beef-git/* pkg/usr/share/beef
+ install -d "${pkgdir}/usr/share/${_pkgname}"
+ cp -r "${srcdir}/${pkgname}" "${pkgdir}/usr/share/${_pkgname}"
# update vendor path
- install -d "${pkgdir}/etc/${_pkgname}/.bundle"
- install -Dm644 "${srcdir}/${pkgname}/.bundle/config" "${pkgdir}/etc/${_pkgname}/.bundle/config"
+ install -d "${pkgdir}/usr/share/${_pkgname}/.bundle"
+ install -Dm644 "${srcdir}/${pkgname}/.bundle/config" "${pkgdir}/usr/share/${_pkgname}/.bundle/config"
install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/beef"
diff --git a/beef-git.install b/beef-git.install
index c7108e90111..594c4bab5ee 100644
--- a/beef-git.install
+++ b/beef-git.install
@@ -1,12 +1,12 @@
post_install() {
echo
echo "Default username and password in use! "
- echo "Change the beef.credentials.passwd in /etc/beef-xss/config.yaml"
+ echo "Change the beef.credentials.passwd in /usr/share/beef/config.yaml"
echo
}
# post_remove(){
-# rm -rf /etc/beef-xss
+# rm -rf /usr/share/beef
# }
# vim: ts=2 sw=2 et:
diff --git a/beef-git.sh b/beef-git.sh
index 13a4b47f3ef..b36d2e1c834 100644
--- a/beef-git.sh
+++ b/beef-git.sh
@@ -1,4 +1,4 @@
#!/bin/bash
-BUNDLE_GEMFILE=/etc/beef-xss/Gemfile bundle exec /etc/beef-xss/beef
+BUNDLE_GEMFILE=/usr/share/beef/Gemfile bundle exec /usr/share/beef/beef
# vim: ts=2 sw=2 et: