initial import
This commit is contained in:
36
vala/PKGBUILD
Normal file
36
vala/PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=vala
|
||||
pkgver=0.48.12
|
||||
pkgrel=2
|
||||
pkgdesc='Compiler for the GObject type system'
|
||||
url='https://wiki.gnome.org/Projects/Vala'
|
||||
arch=(i686 x86_64)
|
||||
license=(LGPL-2.1)
|
||||
depends=(glib2 graphviz pkg-config gcc)
|
||||
makedepends=(libtool help2man autoconf-archive)
|
||||
provides=(valadoc)
|
||||
conflicts=(valadoc)
|
||||
replaces=(valadoc)
|
||||
source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
|
||||
sha512sums=('da7becf8b92985a07b139651c14bd41ec86aed3e2b610029d2b376f70335c98607f39de4a1fa4efe9d51e6088edd4c13d22431cada389679d55f684ad548f4d1')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
autoreconf -vfi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
||||
Reference in New Issue
Block a user