Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

herbstluftwm: Use new git download function.

  • Loading branch information...
onodera-punpun committed Apr 26, 2017
1 parent 7e825db commit feb3b6529a8d2ec02d89e1eb43c4b66d65726702
Showing with 36 additions and 27 deletions.
  1. +19 −16 herbstluftwm/.footprint
  2. +3 −3 herbstluftwm/.signature
  3. +14 −8 herbstluftwm/Pkgfile
@@ -1,16 +1,19 @@
drwxr-xr-x skrzyp/users etc/
drwxr-xr-x skrzyp/users etc/bash_completion.d/
-rw-r--r-- skrzyp/users etc/bash_completion.d/herbstclient-completion
drwxr-xr-x skrzyp/users etc/xdg/
drwxr-xr-x skrzyp/users etc/xdg/herbstluftwm/
-rwxr-xr-x skrzyp/users etc/xdg/herbstluftwm/autostart
-rwxr-xr-x skrzyp/users etc/xdg/herbstluftwm/panel.sh
-rwxr-xr-x skrzyp/users etc/xdg/herbstluftwm/restartpanels.sh
drwxr-xr-x skrzyp/users usr/
drwxr-xr-x skrzyp/users usr/bin/
-rwxr-xr-x skrzyp/users usr/bin/dmenu_run_hlwm
-rwxr-xr-x skrzyp/users usr/bin/herbstclient
-rwxr-xr-x skrzyp/users usr/bin/herbstluftwm
drwxr-xr-x skrzyp/users usr/share/
drwxr-xr-x skrzyp/users usr/share/xsessions/
-rw-r--r-- skrzyp/users usr/share/xsessions/herbstluftwm.desktop
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/bash_completion.d/
-rw-r--r-- root/root etc/bash_completion.d/herbstclient-completion
drwxr-xr-x root/root etc/xdg/
drwxr-xr-x root/root etc/xdg/herbstluftwm/
-rwxr-xr-x root/root etc/xdg/herbstluftwm/autostart
-rwxr-xr-x root/root etc/xdg/herbstluftwm/panel.sh
-rwxr-xr-x root/root etc/xdg/herbstluftwm/restartpanels.sh
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/dmenu_run_hlwm
-rwxr-xr-x root/root usr/bin/herbstclient
-rwxr-xr-x root/root usr/bin/herbstluftwm
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/fish/
drwxr-xr-x root/root usr/share/fish/vendor_completions.d/
-rw-r--r-- root/root usr/share/fish/vendor_completions.d/herbstclient.fish
drwxr-xr-x root/root usr/share/xsessions/
-rw-r--r-- root/root usr/share/xsessions/herbstluftwm.desktop
@@ -1,4 +1,4 @@
untrusted comment: verify with /etc/ports/6c37-git.pub
RWQY8eVY1sSPFT1QkrD2QXCJ3bMjVG/6TIoHYnn51Kfj75NvoElzzaOKH0rm6O5lUIQM5ZoKNcTXoHYfTOJEX9XVF/+q6kOvegU=
SHA256 (Pkgfile) = 379e4745b861d93909745864210af9f8917ed0a639d6f6791e7ed82bdd1bbc62
SHA256 (.footprint) = 7b7cbe9fda10a0d12e09d0f337bff274657352efff3ba1d1c4af7fb3f3a3cb13
RWQY8eVY1sSPFXiRoVJDyjuP0lRqYH2Cq0GN7C+tqxQTlQb9Cpp2+rhz01/qxnrEzKly/s4oDL6QMouLgOJd+rzO1JwAvdEDrAE=
SHA256 (Pkgfile) = c4662174ed2e93467ae60821c2bec1815406c13396b72cffd56377eb70593ad7
SHA256 (.footprint) = 3b02d1afbcaab60ff101d7c09826a6012910e16a80f806b9015187b8f3648a9f
@@ -1,23 +1,29 @@
# Description: Manual tiling window manager for X.
# URL: http://herbstluftwm.org
# Maintainer: 6c37 Team, https://github.com/6c37/crux-ports-git/issues
# Depends on: git xorg-libx11 xorg-libxinerama glib
# Depends on: git xorg-libx11 xorg-libxinerama glib

name=herbstluftwm
version=git
release=1
source=()

build() {
cd $PKGMK_SOURCE_DIR

if cd $name; then
git fetch -q; git reset --hard origin/master
download_git() {
if [[ -d $PKGMK_SOURCE_DIR/$name ]]; then
git -C $PKGMK_SOURCE_DIR/$name fetch --depth=1
git -C $PKGMK_SOURCE_DIR/$name clean -f
git -C $PKGMK_SOURCE_DIR/$name reset --hard origin/$2
else
git clone https://github.com/$name/$name $name
cd $name
git -C $PKGMK_SOURCE_DIR clone --depth=1 $1 -b $2 $name
fi

cp -r $PKGMK_SOURCE_DIR/$name $PKGMK_WORK_DIR/src/$name
}

build() {
download_git https://github.com/$name/$name master
cd $name

make all-nodoc
make PREFIX=/usr DESTDIR=$PKG install-nodoc

0 comments on commit feb3b65

Please sign in to comment.
You can’t perform that action at this time.