From 4b505fc154226bb904fa4c593d8ed433c4d0a6c4 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Fri, 2 Aug 2024 15:54:45 +0700 Subject: [PATCH] create a temp dir for doing stuff --- anda/system/opentabletdriver/opentabletdriver.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/anda/system/opentabletdriver/opentabletdriver.spec b/anda/system/opentabletdriver/opentabletdriver.spec index 36c939f9b8..07068f1bff 100644 --- a/anda/system/opentabletdriver/opentabletdriver.spec +++ b/anda/system/opentabletdriver/opentabletdriver.spec @@ -30,12 +30,16 @@ Suggests: libXrandr OpenTabletDriver is an open source, cross platform, user mode tablet driver. The goal of OpenTabletDriver is to be cross platform as possible with the highest compatibility in an easily configurable graphical user interface. %prep +mkdir -p %{otddir} +cd %{otddir} git clone -b v%version %url . %build +cd %{otddir} ./eng/linux/package.sh --output bin %install +cd %{otddir} export DONT_STRIP=1 PREFIX="%{_prefix}" ./eng/linux/package.sh --package Generic --build false mkdir -p "%{buildroot}"