Commit 0dd5a048 authored by Vivien Alger's avatar Vivien Alger

Drafting for Arch packaging

parent 7265a048
# Maintainer: Vivien Alger <algervivie@tiolive.com>
pkgname=slapos-node
pkgver=%VERSION%+%RECIPE_VERSION%+%RELEASE%
pkgdesc="Slapos client"
arch=('x86_64' 'i686')
url="http://www.slapos.org"
license=('GPL')
depends=()
makedepends=()
install='slapos-node.install'
source=($pkgname_$pkgver.tar.gz)
md5sums=() #generate with 'makepkg -g'
build() {
cd "$srcdir/$pkgname_$pkgver"
make
}
package() {
cd "$srcdir/$pkgname_$pkgver"
make DESTDIR="$pkgdir/" install
}
# This is a default template for a post-install scriptlet.
# Uncomment only required functions and remove any functions
# you don't need (and this header).
## arg 1: the new package version
#pre_install() {
# do something here
#}
## arg 1: the new package version
#post_install() {
# do something here
#}
## arg 1: the new package version
## arg 2: the old package version
#pre_upgrade() {
# do something here
#}
## arg 1: the new package version
## arg 2: the old package version
#post_upgrade() {
# do something here
#}
## arg 1: the old package version
#pre_remove() {
# do something here
#}
## arg 1: the old package version
#post_remove() {
# do something here
#}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment