mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
added Small Action ManagEr for wireless Networks
This commit is contained in:
parent
cc21d3ff84
commit
03462afdf6
1 changed files with 39 additions and 0 deletions
39
aur/samen-git/PKGBUILD
Normal file
39
aur/samen-git/PKGBUILD
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Maintainer: Kai Uwe Jesussek <kajot@gmx.net>
|
||||
|
||||
pkgname=samen-git
|
||||
pkgver=20110601
|
||||
pkgrel=1
|
||||
pkgdesc="samen is a ultra small wpa_supplicant (wpa_cli) action handler."
|
||||
arch=('arm' 'i686' 'x86_64')
|
||||
license=('GPL')
|
||||
provides=('samen')
|
||||
makedepends=('git')
|
||||
depends=('wpa_supplicant')
|
||||
_gitroot=("git://github.com/kimperator/Samen.git")
|
||||
_gitname=("Samen")
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
|
||||
## Git checkout
|
||||
if [ -d ${srcdir}/${_gitname} ] ; then
|
||||
msg "Git checkout: Updating existing tree"
|
||||
cd ${_gitname} && git pull origin
|
||||
msg "Git checkout: Tree has been updated"
|
||||
else
|
||||
msg "Git checkout: Retrieving sources"
|
||||
git clone ${_gitroot}
|
||||
fi
|
||||
msg "Checkout completed"
|
||||
|
||||
## Build
|
||||
rm -rf ${srcdir}/${_gitname}-build
|
||||
cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
|
||||
cd ${srcdir}/${_gitname}-build
|
||||
mkdir -p ${pkgdir}/usr/sbin/
|
||||
gcc src/samen-handler.c -o ${pkgdir}/usr/sbin/samen-handler
|
||||
cp -r additions/arch/etc ${pkgdir}
|
||||
}
|
||||
package() {
|
||||
true
|
||||
}
|
Loading…
Reference in a new issue