blob: caf98e0d77d978a48f865bc57e7d1a943b624154 (
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
29
30
31
|
# Maintainer: Dr-Noob <peibolms at gmail dot com>
# Contributor: Dr-Noob <peibolms at gmail dot com>
_name=cpufetch
pkgname="$_name-git"
pkgver=1.00.r1.gdd32453
pkgrel=1
pkgdesc="Simple yet fancy CPU architecture fetching tool"
arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'aarch64')
provides=(${pkgname%-*}=$pkgver)
conflicts=(${pkgname%-*})
url="https://github.com/Dr-Noob/cpufetch"
license=('MIT')
depends=('glibc')
makedepends=('git' 'make')
source=("git+https://github.com/Dr-Noob/cpufetch")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_name"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_name"
make
}
package() {
cd "$srcdir/$_name"
make DESTDIR="$pkgdir/" install
}
|