summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 37dd97c88bf2..dc831f5d9d73 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,10 @@
+# Generated by mksrcinfo v8
+# Thu Sep 8 08:39:26 UTC 2016
pkgbase = bitchx-git
pkgdesc = An IRC (Internet Relay Chat) client.
- pkgver = 0+24_e60bfb7
+ pkgver = 1.2.1.r118.gdc17b05
pkgrel = 1
- url = https://github.com/BitchX/BitchX
+ url = http://bitchx.sourceforge.net/
arch = i686
arch = x86_64
license = GPL2
@@ -14,7 +16,7 @@ pkgbase = bitchx-git
conflicts = bitchx11-git
conflicts = bitchx12-git
conflicts = bitchx13-git
- source = bitchx-git::git+https://github.com/BitchX/BitchX.git
+ source = bitchx-git::git+git://git.code.sf.net/p/bitchx/git
md5sums = SKIP
pkgname = bitchx-git
diff --git a/PKGBUILD b/PKGBUILD
index 046ee545ea55..43a9d67fc502 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,10 @@
# Maintainer: aksr <aksr at t-com dot me>
pkgname=bitchx-git
-pkgver=0+24_e60bfb7
+pkgver=1.2.1.r118.gdc17b05
pkgrel=1
pkgdesc="An IRC (Internet Relay Chat) client."
arch=('i686' 'x86_64')
-#url="http://www.bitchx.ca/"
-url="https://github.com/BitchX/BitchX"
+url="http://bitchx.sourceforge.net/"
license=('GPL2')
groups=()
depends=('openssl')
@@ -16,13 +15,13 @@ replaces=()
backup=()
options=()
install=
-source=("$pkgname::git+https://github.com/BitchX/BitchX.git")
+source=("$pkgname::git+git://git.code.sf.net/p/bitchx/git")
noextract=()
md5sums=('SKIP')
pkgver () {
cd "$srcdir/$pkgname"
- echo "0+$(git rev-list --count HEAD)_$(git describe --always )"
+ git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^bitchx\.//'
}
build() {
@@ -39,5 +38,6 @@ build() {
package() {
cd $srcdir/$pkgname
make DESTDIR="$pkgdir/" install
+ install -Dm644 COPYRIGHT $pkgdir/usr/share/doc/${pkgname%-*}/COPYRIGHT
}