diff options
author | aksr | 2023-10-04 08:58:23 +0200 |
---|---|---|
committer | aksr | 2023-10-04 08:58:23 +0200 |
commit | d4e53253c01ae5e95d8fcec31a00e668fbdb8b6e (patch) | |
tree | 753b26c41c710b0d4193c7a3f5bc5c0820804c73 /PKGBUILD | |
parent | fd959441a2efcd1f51b411536f9d30c91af54771 (diff) | |
download | aur-d4e53253c01ae5e95d8fcec31a00e668fbdb8b6e.tar.gz |
...
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 15 insertions, 20 deletions
@@ -1,38 +1,33 @@ # Maintainer: aksr <aksr at t-com dot me> pkgname=fish-irssi-git -pkgver=266.8418ac3 -pkgrel=2 -pkgdesc="irssi FiSH plugin" +pkgver=308.75f754f +pkgrel=1 +pkgdesc='irssi FiSH plugin' arch=('i686' 'x86_64') -url="https://github.com/falsovsky/FiSH-irssi" +url='https://github.com/falsovsky/FiSH-irssi' license=('GPL') groups=() depends=('irssi' 'openssl' 'glib2') makedepends=('git' 'cmake' 'irssi') -provides=('fish-irssi') -conflicts=('fish-irssi') -replaces=() -backup=() -options=() +provides=("${pkgname%-*}") +conflicts=("${pkgname%-*}") install=fish-irssi-git.install -source=("$pkgname::git://github.com/falsovsky/FiSH-irssi") -noextract=() +source=("$pkgname::git+$url") md5sums=('SKIP') pkgver() { - cd $srcdir/$pkgname - printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd $srcdir/$pkgname + printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd $srcdir/$pkgname - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr - make + cd $srcdir/$pkgname + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . + make } package() { - cd $srcdir/$pkgname - install -Dm755 src/libfish.so $pkgdir/usr/lib/irssi/modules/libfish.so - install -Dm644 README $pkgdir/usr/share/doc/${pkgname%-*}/README + cd $srcdir/$pkgname + install -D -m755 src/libfish.so $pkgdir/usr/lib/irssi/modules/libfish.so + install -D -m644 README $pkgdir/usr/share/doc/${pkgname%-*}/README } - |