mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
Update plugui-git for pacman 4.1
This commit is contained in:
parent
b0fb840ce8
commit
06f2e20a76
1 changed files with 10 additions and 20 deletions
|
@ -1,40 +1,30 @@
|
|||
plugrel=1
|
||||
|
||||
pkgname=plugui-git
|
||||
pkgver=20110705
|
||||
pkgver=2.4a6f7cf
|
||||
pkgver() {
|
||||
cd "$srcdir/PlugUI"
|
||||
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
|
||||
}
|
||||
epoch=1
|
||||
pkgrel=1
|
||||
pkgdesc="Arch Linux ARM web interface"
|
||||
arch=('arm')
|
||||
url="https://github.com/archlinuxarm/PlugUI"
|
||||
license=('GPL')
|
||||
depends=('python2' 'python2-cherrypy' 'django' 'python2-pytz')
|
||||
depends=('python2' 'python2-cherrypy' 'python2-django' 'python2-pytz')
|
||||
makedepends=('git')
|
||||
provides=('plugui')
|
||||
conflicts=('plugui')
|
||||
install=plugui.install
|
||||
|
||||
_gitroot="git://github.com/archlinuxarm/PlugUI.git"
|
||||
source=("git://github.com/archlinuxarm/PlugUI.git#commit=4a6f7cf4")
|
||||
md5sums=('SKIP')
|
||||
_gitname="PlugUI"
|
||||
|
||||
build() {
|
||||
cd $srcdir
|
||||
|
||||
## Git checkout
|
||||
if [ -d $srcdir/${_gitname} ] ; then
|
||||
msg "Git checkout: Updating existing tree"
|
||||
cd ${_gitname} && git pull
|
||||
msg "Git checkout: Tree has been updated"
|
||||
else
|
||||
msg "Git checkout: Retrieving sources"
|
||||
git clone ${_gitroot}
|
||||
fi
|
||||
msg "Checkout completed"
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/${_gitname}
|
||||
git checkout 4a6f7cf4
|
||||
# create directory structure
|
||||
install -d $pkgdir/opt/PlugUI
|
||||
install -d $pkgdir/var/run/PlugUI
|
||||
|
@ -43,7 +33,7 @@ package() {
|
|||
install -d $pkgdir/etc/rc.d
|
||||
|
||||
# copy everything
|
||||
cp -a * $pkgdir/opt/PlugUI
|
||||
cp -dpr --no-preserve=ownership * $pkgdir/opt/PlugUI
|
||||
|
||||
# install cron and rc.d scripts
|
||||
chmod +x $pkgdir/opt/PlugUI/plugmaintenance.py $pkgdir/opt/PlugUI/plugui.cherrypy
|
||||
|
|
Loading…
Reference in a new issue