aboutsummaryrefslogtreecommitdiffstats
path: root/main/xdm
diff options
context:
space:
mode:
Diffstat (limited to 'main/xdm')
-rw-r--r--main/xdm/APKBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/main/xdm/APKBUILD b/main/xdm/APKBUILD
index b9755f4c1b..907b0d6c5d 100644
--- a/main/xdm/APKBUILD
+++ b/main/xdm/APKBUILD
@@ -21,19 +21,15 @@ source="
alpinelinux_white_blue.xpm
"
-_builddir="${srcdir}"/"${pkgname}"-"${pkgver}"
+builddir="${srcdir}"/"${pkgname}"-"${pkgver}"
+
prepare() {
- local i=
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ default_prepare || return 1
+ update_config_guess || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -48,7 +44,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1