summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjjacky2012-05-10 15:37:49 +0200
committerOlivier Brunel2015-06-08 19:14:57 +0200
commit567fd77068249671881567d973afc0f8261f05ae (patch)
tree08d1ce01a87c9ce85d8e66dd20ac87306dde3f60
parentd52e1c0288f94320f964fe6377fd24de08ad22d9 (diff)
downloadaur-567fd77068249671881567d973afc0f8261f05ae.tar.gz
pkgclip: updated to 1.0.0
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD24
2 files changed, 13 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0df46df5152..fa0e217b244 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,17 @@
pkgbase = pkgclip
pkgdesc = Cached Packages Trimmer Utility
- pkgver = 0.1.2
+ pkgver = 1.0.0
pkgrel = 1
url = https://bitbucket.org/jjacky/pkgclip
arch = i686
arch = x86_64
license = GPL3+
- makedepends = pkg-config
depends = dbus
depends = polkit
depends = gtk3
depends = pacman>=4.0.1
- source = https://bitbucket.org/jjacky/pkgclip/get/0.1.2.tar.gz
- md5sums = cce3e41183077e2eeff45ec6fd15364f
+ source = https://bitbucket.org/jjacky/pkgclip/downloads/pkgclip-1.0.0.tar.gz
+ md5sums = 4595389fa49b8c0f27a7928b6c32e215
pkgname = pkgclip
diff --git a/PKGBUILD b/PKGBUILD
index 70a9be8634a..cd3f1d92753 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,28 @@
# Maintainer: jjacky
pkgname=pkgclip
-pkgver=0.1.2
+pkgver=1.0.0
pkgrel=1
pkgdesc="Cached Packages Trimmer Utility"
arch=('i686' 'x86_64')
url="https://bitbucket.org/jjacky/pkgclip"
license=('GPL3+')
depends=('dbus' 'polkit' 'gtk3' 'pacman>=4.0.1')
-makedepends=('pkg-config')
-source=(https://bitbucket.org/jjacky/$pkgname/get/$pkgver.tar.gz)
+source=(https://bitbucket.org/jjacky/$pkgname/downloads/$pkgname-$pkgver.tar.gz)
+md5sums=('4595389fa49b8c0f27a7928b6c32e215')
build() {
- cd "$srcdir"
- # archive is auto-generated by bitbucket, so name includes last commit
- _dir=$(ls | grep jjacky-$pkgname-)
- # moving it all in srcdir
- mv $_dir/* .
- # removing e.g. .hg_archival.txt or .hgtags
- rm -f $_dir/.hg*
- rmdir $_dir
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
make
}
package() {
- cd "$srcdir"
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
+ # fix: silly bug in the Makefile, the icon wasn't installed anymore...
+ echo "/* XPM */" > pkgclip.xpm
+ cat xpm.h >> pkgclip.xpm
+ install -D -m644 pkgclip.xpm $pkgdir/usr/share/pixmaps/pkgclip.xpm
}
-md5sums=('cce3e41183077e2eeff45ec6fd15364f')
-
# vim:set ts=2 sw=2 et: