diff options
author | Zee Eichel <zee@dracos-linux.org> | 2019-05-14 11:13:39 +0700 |
---|---|---|
committer | Zee Eichel <zee@dracos-linux.org> | 2019-05-14 11:13:39 +0700 |
commit | f4cc094757ea49a9469c3d1d6a400b1ca72c5bc8 (patch) | |
tree | 7701549df320780e88b3e9e72a8eb7c9d2cb52ce | |
parent | 76ca898af39433696a252299d94831f8c613c73b (diff) | |
download | demit.extra-git.repo-f4cc094757ea49a9469c3d1d6a400b1ca72c5bc8.tar.gz demit.extra-git.repo-f4cc094757ea49a9469c3d1d6a400b1ca72c5bc8.tar.bz2 demit.extra-git.repo-f4cc094757ea49a9469c3d1d6a400b1ca72c5bc8.zip |
add graphite2,gdk-pixbuf,autoconf2.13
-rw-r--r-- | autoconf2.13/PKGBUILD | 25 | ||||
-rw-r--r-- | cbindgen/PKGBUILD | 23 | ||||
-rw-r--r-- | gdk-pixbuf/pkgbuild-gdk-pixbuf.sh | 42 | ||||
-rw-r--r-- | graphite2/PKGBUILD | 32 |
4 files changed, 122 insertions, 0 deletions
diff --git a/autoconf2.13/PKGBUILD b/autoconf2.13/PKGBUILD new file mode 100644 index 0000000..be8af64 --- /dev/null +++ b/autoconf2.13/PKGBUILD @@ -0,0 +1,25 @@ +#Maintainer: Zee Eichel <zee@dracos-linux.org> + +pkgname=autoconf2.13 +pkgver=2.13 +pkgrel=1 +pkgdesc="A GNU tool for automatically configuring source code (Legacy 2.1x version)" +arch=('x86_64') +url="https://www.gnu.org/software/autoconf/" +license=('GPL2') +#depends=() +source=("https://ftp.gnu.org/gnu/autoconf/autoconf-${pkgver}.tar.gz") +sha256sums=('f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e') + +build() { + cd "${srcdir}/autoconf-${pkgver}" + sed -i "/acdatadir/s:autoconf:&2.13:g" Makefile.in + ./configure --prefix=/usr --program-suffix=2.13 + make +} + +package() { + cd "${srcdir}/autoconf-${pkgver}" + make install prefix="${pkgdir}/usr" + rm -rf "${pkgdir}/usr/info" +} diff --git a/cbindgen/PKGBUILD b/cbindgen/PKGBUILD new file mode 100644 index 0000000..7c91015 --- /dev/null +++ b/cbindgen/PKGBUILD @@ -0,0 +1,23 @@ +#Maintainer: Zee Eichel <zee@dracos-linux.org> + +pkgname=cbindgen +pkgver=0.8.0 +pkgrel=1 +pkgdesc="Cbindgen can be used to generate C bindings for Rust code." +arch=('x86_64') +url="https://github.com/eqrion/cbindgen/" +license=('BSD') +depends=('rustc') +source=("https://github.com/eqrion/cbindgen/archive/v0.8.0/cbindgen-0.8.0.tar.gz") +sha256sums=('3a83c8981d195ea8c72cbcd65713fc909c64c613554d3aa52733d3f32b9b244d') + +build() { + cd "$pkgname"-"$pkgver" + cargo build --release +} + +package() { + cd "$pkgname"-"$pkgver" + install -d $pkgdir/usr/bin/ + install -Dm755 target/release/cbindgen $pkgdir/usr/bin/ +} diff --git a/gdk-pixbuf/pkgbuild-gdk-pixbuf.sh b/gdk-pixbuf/pkgbuild-gdk-pixbuf.sh new file mode 100644 index 0000000..7d74593 --- /dev/null +++ b/gdk-pixbuf/pkgbuild-gdk-pixbuf.sh @@ -0,0 +1,42 @@ +#Maintainer: purnomo hadi <dimension.breaker@dracos-linux.org> +#Contributor: zee eichel <zee@dracos-linux.org> + +pkgname=gdk-pixbuf +pkgver=2.38.0 +pkgrel=1 +pkgdesc="The Gdk Pixbuf package is a toolkit for image loading and pixel buffer manipulation. " +arch=(x86_64) +url="gnome.org" +license=('GPLv2.1') +depends=('glib' 'libjpeg-turbo' 'libpng' 'shared-mime-info' ) +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.38/$pkgname-$pkgver.tar.xz") +sha256sums=('dd50973c7757bcde15de6bcd3a6d462a445efd552604ae6435a0532fbbadae47') + +build() { + cd "$pkgname-$pkgver" + mkdir build && + cd build + meson --prefix=/usr \ + --libdir=/usr/lib \ + --sysconfdir /etc \ + --localstatedir /var \ + --buildtype=plain -Dman=false -Ddocs=false \ + .. + ninja +} + +package() { + cd "$pkgname-$pkgver" + cd build + + DESTDIR="$pkgdir" ninja install + + if [ -d "$pkgdir/usr/share/man" ]; then + rm -rf $pkgdir/usr/share/man + fi + if [ -d "$pkgdir/usr/share/doc" ]; then + rm -rf $pkgdir/usr/share/doc + fi +} diff --git a/graphite2/PKGBUILD b/graphite2/PKGBUILD new file mode 100644 index 0000000..2d2fa4e --- /dev/null +++ b/graphite2/PKGBUILD @@ -0,0 +1,32 @@ +#Maintainer: Zee Eichel <zee@dracos-linux.org> + +pkgbase=graphite2 +pkgname=('graphite2') +pkgver=1.3.13 +pkgrel=1 +arch=('x86_64') +url="https://github.com/silnrsi/graphite" +license=('LGPL' 'GPL' 'custom') +makedepends=('cmake') +optdepends=('python2') +source=("https://github.com/silnrsi/graphite/releases/download/${pkgver}/graphite2-${pkgver}.tgz") +sha256sums=('dd63e169b0d3cf954b397c122551ab9343e0696fb2045e1b326db0202d875f06') + +prepare() { +cd "$pkgname"-"$pkgver" +sed -i '/cmptest/d' tests/CMakeLists.txt +mkdir build +} + +build () { + cd "$pkgname"-"$pkgver" + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. +} + + +package() { + cd "$pkgname"-"$pkgver" + cd build + make DESTDIR="$pkgdir/" install +} |