makedeb
tryones patched fork of compton with kawase blur
Click here to go back to the commit logs for compton-tryone-git.
Hash: afd6181fc9b96ffacd68228cd2bc2b4297a129e8
Message: minor fix
diff --git a/.SRCINFO b/.SRCINFO
index 89789a5..7ecbcf3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,61 +1,67 @@
-generated-by = makedeb-makepkg
-
-pkgbase = compton-tryone-git
- pkgdesc = tryones patched fork of compton with kawase blur
- pkgver = 0.1.beta2.99.g6e49259
- pkgrel = 1
- url = https://github.com/tryone144/compton
- arch = x86_64
- license = MIT
- makedepends = git
- makedepends = pkg-config
- makedepends = make
- makedepends = x11proto-dev
- makedepends = asciidoc
- depends = libx11-dev
- depends = libxcomposite-dev
- depends = libxdamage-dev
- depends = libxfixes-dev
- depends = libxext-dev
- depends = libxrender-dev
- depends = libxrandr-dev
- depends = libxinerama-dev
- depends = x11-utils
- depends = libpcre++-dev
- depends = libconfig-dev
- depends = libdrm-dev
- depends = libgl1-mesa-dev
- depends = libgles2-mesa-dev
- depends = libglu1-mesa-dev
- depends = libdbus-1-dev
- depends = libxcb1-dev
- depends = libxcb-damage0-dev
- depends = libxcb-xfixes0-dev
- depends = libxcb-shape0-dev
- depends = libxcb-render-util0-dev
- depends = libxcb-render0-dev
- depends = libxcb-randr0-dev
- depends = libxcb-composite0-dev
- depends = libxcb-image0-dev
- depends = libxcb-present-dev
- depends = libxcb-xinerama0-dev
- depends = libpixman-1-dev
- depends = libgl1-mesa-dev
- depends = libpcre3-dev
- depends = libevdev-dev
- depends = uthash-dev
- depends = libev-dev
- depends = libx11-xcb-dev
- depends = libxdg-basedir-dev
- depends = docbook-xml
- depends = xsltproc
- depends = docbook-xsl
- optdepends = dbus: To control compton via D-Bus
- optdepends = xorg-xwininfo: For compton-trans
- optdepends = xorg-xprop: For compton-trans
- provides = compton
- conflicts = compton
- source = git://github.com/tryone144/compton.git
- md5sums = SKIP
-
+generated-by = makedeb
pkgname = compton-tryone-git
+pkgbase = compton-tryone-git
+pkgdesc = tryones patched fork of compton with kawase blur
+pkgrel = 2
+pkgver = 0.1.beta2.99.g6e49259
+url = https://github.com/tryone144/compton
+arch = amd64
+conflicts = compton
+depends = libx11-dev
+depends = libxcomposite-dev
+depends = libxdamage-dev
+depends = libxfixes-dev
+depends = libxext-dev
+depends = libxrender-dev
+depends = libxrandr-dev
+depends = libxinerama-dev
+depends = x11-utils
+depends = libpcre++-dev
+depends = libconfig-dev
+depends = libdrm-dev
+depends = libgl1-mesa-dev
+depends = libgles2-mesa-dev
+depends = libglu1-mesa-dev
+depends = libdbus-1-dev
+depends = libxcb1-dev
+depends = libxcb-damage0-dev
+depends = libxcb-xfixes0-dev
+depends = libxcb-shape0-dev
+depends = libxcb-render-util0-dev
+depends = libxcb-render0-dev
+depends = libxcb-randr0-dev
+depends = libxcb-composite0-dev
+depends = libxcb-image0-dev
+depends = libxcb-present-dev
+depends = libxcb-xinerama0-dev
+depends = libpixman-1-dev
+depends = libgl1-mesa-dev
+depends = libpcre3-dev
+depends = libevdev-dev
+depends = uthash-dev
+depends = libev-dev
+depends = libx11-xcb-dev
+depends = libxdg-basedir-dev
+depends = docbook-xml
+depends = xsltproc
+depends = docbook-xsl
+license = MIT
+makedepends = git
+makedepends = pkg-config
+makedepends = make
+makedepends = x11proto-dev
+makedepends = asciidoc
+optdepends = dbus: To control compton via D-Bus
+optdepends = xorg-xwininfo: For compton-trans
+optdepends = xorg-xprop: For compton-trans
+provides = compton
+source = compton::git+https://github.com/tryone144/compton.git
+md5sums = SKIP
+makedepends = git
+makedepends = pkg-config
+makedepends = make
+makedepends = x11proto-dev
+makedepends = asciidoc
+optdepends = dbus: To control compton via D-Bus
+optdepends = xorg-xwininfo: For compton-trans
+optdepends = xorg-xprop: For compton-trans
diff --git a/PKGBUILD b/PKGBUILD
index 3d71f2a..e3769ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
- # Maintainer: only_vip <onlyme_vip@protonmail.com>
+# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=compton-tryone-git
pkgdesc='tryones patched fork of compton with kawase blur'
_gitname=compton
pkgver=0.1.beta2.99.g6e49259
- pkgrel=1
- arch=(x86_64)
+ pkgrel=2
+ arch=("amd64")
url="https://github.com/tryone144/compton"
license=('MIT')
depends=('libx11-dev' 'libxcomposite-dev' 'libxdamage-dev' 'libxfixes-dev' 'libxext-dev' 'libxrender-dev' 'libxrandr-dev' 'libxinerama-dev' 'x11-utils' 'libpcre++-dev' 'libconfig-dev' 'libdrm-dev' 'libgl1-mesa-dev' 'libgles2-mesa-dev' 'libglu1-mesa-dev' 'libdbus-1-dev' 'libxcb1-dev' 'libxcb-damage0-dev' 'libxcb-xfixes0-dev' 'libxcb-shape0-dev' 'libxcb-render-util0-dev' 'libxcb-render0-dev' 'libxcb-randr0-dev' 'libxcb-composite0-dev' 'libxcb-image0-dev' 'libxcb-present-dev' 'libxcb-xinerama0-dev' 'libpixman-1-dev' 'libgl1-mesa-dev' 'libpcre3-dev' 'libevdev-dev' 'uthash-dev' 'libev-dev' 'libx11-xcb-dev' 'libxdg-basedir-dev' 'docbook-xml' 'xsltproc' 'docbook-xsl')
@@ -15,12 +15,16 @@
provides=('compton')
conflicts=('compton')
# replaces=('compton')
- source=("git://github.com/tryone144/compton.git")
+ source=("${_gitname}::git+https://github.com/tryone144/compton.git")
md5sums=("SKIP")
pkgver() {
cd "${srcdir}/${_gitname}"
- git describe --tags | sed -e "s:v::" -e 's/_/./' -e 's/-/./g'
+ #git describe --always | sed -e "s:v::" -e 's/_/./' -e 's/-/./g'
+ _always=$(git describe --always | sed -e 's:-:.:g' -e 's:v::') # always is mobile, and switches between numbers and letters, can't use it for versioning
+ _commits=$(git rev-list --count HEAD | sed 's:-:.:g') # total commits is the most sane way of getting incremental pkgver
+ _date=$(git log -1 --date=short --pretty=format:%cd)
+ printf "%s%s%s\n" "${_commits}" "${_always}" "${_date}" | sed -e 's:-:.:g' -e 's:_:.:g'
}
build() {