aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-11-11 15:45:55 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-11-11 15:47:03 +0200
commitec7a4f2536eef85b6d96936ad02eff011ed3eb68 (patch)
tree5ef607fbba8b5bbb6f57943384565c8b7ffe8e38
parent49a24c0f73e353c3677f6b071c721e3566798e61 (diff)
downloadaports-ec7a4f2536eef85b6d96936ad02eff011ed3eb68.tar.gz
aports-ec7a4f2536eef85b6d96936ad02eff011ed3eb68.tar.bz2
aports-ec7a4f2536eef85b6d96936ad02eff011ed3eb68.tar.xz
community/xinput_calibrator: moved from unmaintained
-rw-r--r--community/xinput_calibrator/APKBUILD (renamed from unmaintained/xinput_calibrator/APKBUILD)15
1 files changed, 3 insertions, 12 deletions
diff --git a/unmaintained/xinput_calibrator/APKBUILD b/community/xinput_calibrator/APKBUILD
index 31c3d01c3d..c4828e1a49 100644
--- a/unmaintained/xinput_calibrator/APKBUILD
+++ b/community/xinput_calibrator/APKBUILD
@@ -13,19 +13,10 @@ install=""
subpackages="$pkgname-doc"
source="http://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-$pkgver.tar.gz"
-_builddir="$srcdir"/xinput_calibrator-$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
-}
+builddir="$srcdir"/xinput_calibrator-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -35,7 +26,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}