A few small changes
This commit is contained in:
parent
2a3230e81a
commit
df081b7907
@ -10,7 +10,7 @@
|
|||||||
topdir=
|
topdir=
|
||||||
version=
|
version=
|
||||||
pkgver=
|
pkgver=
|
||||||
source[0]=
|
source[0]=$topdir-$version.tar.gz
|
||||||
# If there are no patches, simply comment this
|
# If there are no patches, simply comment this
|
||||||
patch[0]=
|
patch[0]=
|
||||||
|
|
||||||
@ -18,6 +18,11 @@ patch[0]=
|
|||||||
. ${HOME}/buildpkg/scripts/buildpkg.functions
|
. ${HOME}/buildpkg/scripts/buildpkg.functions
|
||||||
|
|
||||||
# Define script functions and register them
|
# Define script functions and register them
|
||||||
|
METHODS=""
|
||||||
|
reg() {
|
||||||
|
METHODS="$METHODS $1"
|
||||||
|
}
|
||||||
|
|
||||||
reg prep
|
reg prep
|
||||||
prep()
|
prep()
|
||||||
{
|
{
|
||||||
@ -33,7 +38,7 @@ build()
|
|||||||
reg install
|
reg install
|
||||||
install()
|
install()
|
||||||
{
|
{
|
||||||
generic_install
|
generic_install DESTDIR
|
||||||
}
|
}
|
||||||
|
|
||||||
reg pack
|
reg pack
|
||||||
@ -42,14 +47,9 @@ pack()
|
|||||||
generic_pack
|
generic_pack
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
###################################################
|
###################################################
|
||||||
# No need to look below here
|
# No need to look below here
|
||||||
###################################################
|
###################################################
|
||||||
METHODS=""
|
|
||||||
reg() {
|
|
||||||
METHODS="$METHODS $1"
|
|
||||||
}
|
|
||||||
|
|
||||||
reg all
|
reg all
|
||||||
all()
|
all()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user