summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD26
2 files changed, 17 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3415d182a75..0094d0004af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,16 @@
pkgbase = lain-git
pkgdesc = Layouts, asynchronous widgets and utilities for Awesome WM
pkgver = 1697.3328e73
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/lcpz/lain
arch = any
license = GPL2
- makedepends = git
depends = awesome
optdepends = curl: for IMAP, MPD and weather widgets
provides = lain
conflicts = lain
- source = git://github.com/lcpz/lain.git
- md5sums = SKIP
+ source = lain-1697.3328e73.zip::https://github.com/lcpz/lain/archive/3328e738bdc1223583fb98730668dfed24395dfc.zip
+ sha256sums = SKIP
pkgname = lain-git
diff --git a/PKGBUILD b/PKGBUILD
index f7943e3c33e..31ee3ec78c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,18 +4,22 @@ pkgname=lain-git
pkgcom=1697
pkgsha=3328e73
pkgver=$pkgcom.$pkgsha
-pkgrel=1
+pkgrel=2
pkgdesc="Layouts, asynchronous widgets and utilities for Awesome WM"
-arch=('any')
+arch=("any")
url="https://github.com/lcpz/lain"
-license=('GPL2')
-depends=('awesome')
-optdepends=('curl: for IMAP, MPD and weather widgets')
-makedepends=('git')
-provides=('lain')
-conflicts=('lain')
-source=("git://github.com/lcpz/lain.git")
-md5sums=('SKIP')
+license=("GPL2")
+depends=("awesome")
+optdepends=("curl: for IMAP, MPD and weather widgets")
+provides=("lain")
+conflicts=("lain")
+sha256sums=("SKIP")
+commitHash="3328e738bdc1223583fb98730668dfed24395dfc"
+source=("lain-${pkgver}.zip::https://github.com/lcpz/lain/archive/$commitHash.zip")
+
+prepare() {
+ mv "lain-$commitHash" lain
+}
package() {
# check if awesome is stable or git
@@ -26,7 +30,5 @@ package() {
fi
install -dm755 "$aw_path/lain"
- git --git-dir=lain/.git --work-tree=lain/ reset --hard $pkgsha --quiet
- rm -rf lain/{wiki,.git*,*.rockspec,*TEMPLATE*}
cp -a lain $aw_path
}