You are not logged in.
I was trying to merge multiple branches of monsterwm using PKGBUILD but am having no success.
The PKGBUILD is :
#Maintained by ivoarch <ivkuzev@gmail.com>
pkgname=monsterwm-git
pkgver=20120418
pkgrel=3
pkgdesc="Very minimal, lightweight, monsterous, tiny, dynamic tiling window manager"
url="https://github.com/c00kiemon5ter/monsterwm"
arch=('i686' 'x86_64')
license=('MIT/X')
groups=('modified')
depends=('libx11')
makedepends=('git')
conflicts=('monsterwm-xcb')
#md5sums=('')
_gitroot="git://github.com/c00kiemon5ter/monsterwm.git"
_gitname="monsterwm"
_gitbranch="windowtitles"
build() {
cd "${srcdir}"
msg "Connecting to GIT server...."
if [ -d ${_gitname} ] ; then
cd ${_gitname} && git pull
msg "The local files are updated."
else
git clone ${_gitroot} ${_gitname} -b ${_gitbranch}
fi
msg "GIT checkout done or server timeout"
rm -rf "${srcdir}/${_gitname}-build"
git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
cd "${srcdir}/${_gitname}-build"
if [ -e $startdir/config.h ]
then
msg "use custom config.h"
cp ${startdir}/config.h .
else
msg "use default config.h"
fi
}
package() {
cd "${srcdir}/${_gitname}-build"
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}So when I change the
_gitbranchand rebuild the package, it only merges one branch to the master.
I need to merge multiple branches to the master branch using PKGBUILD.
Offline
Step 1: Update to a format that isn't ancient - https://wiki.archlinux.org/index.php/VC … guidelines
Step 2: Do whatever you need to do in the prepare() function.
Offline