diff --git a/.gitignore b/.gitignore index c78f148..3795249 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ src pkg NaviThingy -navithingy-0* -navithingy-debug* \ No newline at end of file +navithingy-git-0* +navithingy-git-debug* \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD index 9d76565..a4ba5cb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -20,11 +20,9 @@ conflicts=('navithingy') pkgver() { cd "$srcdir/NaviThingy" - local tag + local tag rev commit tag=$(git describe --tags --abbrev=0 | sed 's/^NaviThingy//' | tr -d 'v') - local rev rev=$(git rev-list --count HEAD) - local commit commit=$(git rev-parse --short HEAD) echo "${tag}.r${rev}.${commit}" diff --git a/navithingy-git.install b/navithingy-git.install deleted file mode 100644 index 49579c9..0000000 --- a/navithingy-git.install +++ /dev/null @@ -1,7 +0,0 @@ -post_install() { - echo "NaviThingy installed. GPU compositing is disabled to prevent WebKitGTK issues." -} - -pre_remove() { - echo "Removing NaviThingy..." -}