blob: e22d343c7be6228429e1ed690e9f02acb8dbb40d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Emmanuel Farhi <emmanuel.farhi.1@gmail.com>
# create Arch package with: makepkg -si
# create .SRCINFO with: makepkg --printsrcinfo > .SRCINFO
pkgname='looktxt'
pkgver=1.4.1
pkgrel=1
pkgdesc="Search and export numerics from any text/ascii file"
arch=('x86_64')
url="https://gitlab.com/soleil-data-treatment/soleil-software-projects/$pkgname"
license=('GPL2')
depends=()
makedepends=('make')
source=("git+https://gitlab.com/soleil-data-treatment/soleil-software-projects/$pkgname")
md5sums=('SKIP')
build() {
cd "$pkgname"
make
echo "[OK] Built $pkgname"
}
package() {
install -Dm644 "${srcdir}/$pkgname/man/$pkgname.1" "${pkgdir}/usr/share/man/man1/$pkgname.1"
install -Dm755 "${srcdir}/$pkgname/$pkgname" "${pkgdir}/usr/bin/$pkgname"
echo "[OK] Installed $pkgname"
}
|