blob: f1b1aee6d5b8bded3b87881ef4f90642017c6145 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: pk <patrik@nuit.cz>
# Contributor: FabioLolix
# Contributor: Johannes Frankenau
pkgname=oil-search
pkgver=0.3.2
pkgrel=2
pkgdesc='Search-as-you-type cli frontend for the buku bookmarks manager using peco. '
arch=('any')
url='https://github.com/AndreiUlmeyda/oil'
license=('GPL3')
depends=('buku' 'peco' 'jq' 'xsel')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AndreiUlmeyda/oil/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('065f4bdcff8ef6642cb1b5fe9c8e95844be26e9a4935859672528b0f76d08adb')
package() {
cd "oil-${pkgver}"
make PREFIX=/usr BINDIR=/usr/bin LIBDIR=/usr/lib/oil-search DESTDIR="${pkgdir}" install
mv "${pkgdir}/usr/bin/oil" "${pkgdir}/usr/bin/oil-search"
sed -i 's/LIBDIR=\/usr\/local\/lib\/oil/LIBDIR=\/usr\/lib\/oil-search/' "${pkgdir}/usr/bin/oil-search"
ln -s /usr/bin/oil-search "${pkgdir}/usr/bin/oils"
}
|