Commit 8c92572b authored by Jakub Jirutka's avatar Jakub Jirutka Committed by Natanael Copa

sample.APKBUILD: rename _builddir to builddir

parent 9de1cfbf
# This is an example APKBUILD file. Use this as a start to creating your own,
# and remove these comments.
# and remove these comments.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
......@@ -19,16 +19,14 @@ install=
subpackages="$pkgname-dev $pkgname-doc"
prepare() {
cd "$_builddir"
# apply patches here
cd "$builddir"
build() {
cd "$_builddir"
cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
......@@ -37,8 +35,8 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
# remove the 2 lines below (and this) if there is no init.d script
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
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