diff options
-rw-r--r-- | .SRCINFO | 34 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6ff79beeac9d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,34 @@ +pkgbase = slock-abh15h3k + pkgdesc = my build of suckless slock. with image patch + pkgver = 1.4.d3598d9 + pkgrel = 1 + url = https://github.com/Abh15h3k/slock + arch = x86_64 + license = MIT + makedepends = git + makedepends = make + depends = bzip2 + depends = freetype2 + depends = glib2 + depends = glibc + depends = graphite + depends = harfbuzz + depends = imlib2 + depends = libpng + depends = libx11 + depends = libxau + depends = libxcb + depends = libxcrypt + depends = libxdmcp + depends = libxext + depends = libxrandr + depends = libxrender + depends = pcre + depends = zlib + provides = slock + conflicts = slock + source = slock-abh15h3k::git+https://github.com/Abh15h3k/slock-abh15h3k + sha256sums = SKIP + +pkgname = slock-abh15h3k + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8d735248614f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Abhishek "Abh15h3k" Banerji <abhishekbanerji1999@gmail.com> + +pkgname="slock-abh15h3k" +pkgver=1.4.d3598d9 +pkgrel=1 +pkgdesc="my build of suckless slock. with image patch" +url="https://github.com/Abh15h3k/slock" +arch=("x86_64") +depends=("bzip2" "freetype2" "glib2" "glibc" "graphite" "harfbuzz" "imlib2" "libpng" "libx11" "libxau" "libxcb" "libxcrypt" "libxdmcp" "libxext" "libxrandr" "libxrender" "pcre" "zlib") +makedepends=("git" "make") +license=("MIT") +provides=("slock") +conflicts=("slock") +source=("slock-abh15h3k::git+https://github.com/Abh15h3k/slock-abh15h3k") +sha256sums=("SKIP") + +pkgver() { + cd "$srcdir/slock-abh15h3k" + commit=$(git log --pretty=format:"%h" | head -n1) + echo "1.4.${commit}" + # git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "$srcdir/slock-abh15h3k" + # mkdir build -p && cd build + # cmake -DCMAKE_BUILD_TYPE=Release .. + make +} + +package() { + cd "$srcdir/slock-abh15h3k" + make DESTDIR="$pkgdir" PREFIX="/usr" install + # install -Dsm 755 build/ryzenadj $pkgdir/usr/bin/ryzenadj + # install -Dsm 744 build/libryzenadj.so $pkgdir/usr/lib/libryzenadj.so +} |