Skip to content

Commit

Permalink
testing/xdo: modernize
Browse files Browse the repository at this point in the history
Closes: GH-7935
  • Loading branch information
maxice8 authored and TBK committed May 23, 2019
1 parent 2edaf90 commit a974e0a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions testing/xdo/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,13 @@ license="BSD-2-Clause"
makedepends="libxcb-dev xcb-util-wm-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/baskerville/xdo/archive/${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
cd "$builddir"
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
make
}

package() {
cd "$builddir"
make DESTDIR="$pkgdir" PREFIX=/usr install
}

Expand Down

0 comments on commit a974e0a

Please sign in to comment.