summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoaquin2018-01-07 14:06:22 -0500
committerJoaquin2018-01-07 14:06:22 -0500
commitc50f503318dfef77e586a173e04f978bd61d9278 (patch)
tree90b4f4363911bb6092a2462524c31b0480ff7b25 /PKGBUILD
parent8acabf38c757182bacc7790795a65348e2c7ff1f (diff)
downloadaur-c50f503318dfef77e586a173e04f978bd61d9278.tar.gz
Improvement according good practices
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index efbe9fab750..0ce0a03fd65 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=gtk-arc-flatabulous-theme-git
_pkgname=arc-flatabulous-theme
-pkgver=709.1b1b7c9
+pkgver=r709.1b1b7c9
pkgrel=1
pkgdesc="Arc theme with Flatabulous window controls."
arch=('any')
@@ -12,18 +12,25 @@ license=('GPL3')
makedepends=('git' 'gtk3')
optdepends=('gtk-engine-murrine: for gtk2 themes'
'gnome-themes-standard: for gtk2 themes'
- 'arc-icon-theme: recommended icon theme')
-source=("${_pkgname}"::"git+${url}")
+ 'arc-icon-theme: recommended icon theme'
+ 'gtk3: for gtk3 themes'
+ )
+source=("git+${url}")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
- echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "${srcdir}/${_pkgname}"
+ autoreconf -fi
}
build() {
cd "${srcdir}/${_pkgname}"
- ./autogen.sh --prefix=/usr
+ ./configure --prefix=/usr
}
package() {