blob: 8795fca027621f12037db868ed7913c5d0858049 (
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
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Aetf <aetf at unlimitedcodeworks dot xyz>
pkgname=libtsm-git
_gitname=libtsm
pkgver=3.r17.gb73acb4
pkgrel=1
pkgdesc="Terminal-emulator State Machine"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/kmscon/$_gitname"
license=('MIT')
depends=(glibc)
makedepends=('git' 'libxkbcommon')
provides=('libtsm')
conflicts=('libtsm')
options=(!libtool)
source=('git://people.freedesktop.org/~dvdhrm/libtsm')
sha256sums=('SKIP')
pkgver() {
cd "$_gitname"
git describe --long | sed -r "s/^$_gitname-//;s/([^-]*-g)/r\\1/;s/-/./g"
}
prepare() {
cd "$srcdir/$_gitname"
test -f ./configure || NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr
}
build() {
cd "$srcdir/$_gitname"
make
}
package() {
cd "$srcdir/$_gitname"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_gitname/COPYING"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
|