summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2014-01-05 12:53:45 -0600
committerDoug Newgard2014-01-05 12:53:45 -0600
commit7f5c685ed8391f4afe45b21b0719188c67977776 (patch)
treedb6120ef7221a26b00033d31097b8dca84382ad5
downloadaur-7f5c685ed8391f4afe45b21b0719188c67977776.tar.gz
Initial commit after losing everything
-rw-r--r--.SRCINFO34
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD69
-rw-r--r--enlightenment17.install13
4 files changed, 120 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7bf9c7bf49d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+pkgbase = enlightenment17-git
+ pkgdesc = Enlightenment window manager (formerly e17) - Development version
+ pkgver = 0.17.99.17108.65a9f8d
+ pkgrel = 1
+ url = http://www.enlightenment.org
+ install = enlightenment17.install
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ depends = elementary-git
+ depends = xcb-util-keysyms
+ depends = hicolor-icon-theme
+ depends = desktop-file-utils
+ depends = udisks2
+ depends = ttf-font
+ depends = pixman
+ depends = mesa
+ depends = bluez-libs
+ optdepends = acpid: power events on laptop lid close
+ optdepends = bluez-libs: bluetooth module
+ optdepends = connman: network module
+ optdepends = gdb: create backtraces on crash
+ provides = enlightenment17=0.17.99.17108.65a9f8d
+ provides = notification-daemon
+ conflicts = enlightenment17
+ options = debug
+ backup = etc/enlightenment/sysactions.conf
+ backup = etc/xdg/menus/enlightenment.menu
+ source = git://git.enlightenment.org/core/enlightenment.git
+ sha256sums = SKIP
+
+pkgname = enlightenment17-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..71a9d16c2b3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*~
+*/
+*.tar.*
+*.log
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c7a39296f12
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,69 @@
+# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+
+_pkgname=enlightenment
+pkgname=${_pkgname}17-git
+pkgver=0.17.99.17108.65a9f8d
+pkgrel=1
+pkgdesc="Enlightenment window manager (formerly e17) - Development version"
+arch=('i686' 'x86_64')
+url="http://www.enlightenment.org"
+license=('BSD')
+depends=('elementary-git' 'xcb-util-keysyms' 'hicolor-icon-theme'
+ 'desktop-file-utils' 'udisks2' 'ttf-font' 'pixman' 'mesa')
+ [[ ! $(pacman -T bluez-libs) ]] && depends+=('bluez-libs') #l2ping support in enlightenment_sys is detected at build time
+makedepends=('git')
+optdepends=('acpid: power events on laptop lid close'
+ 'bluez-libs: bluetooth module'
+ 'connman: network module'
+ 'gdb: create backtraces on crash')
+provides=("enlightenment17=$pkgver" 'notification-daemon')
+conflicts=("enlightenment17")
+backup=('etc/enlightenment/sysactions.conf'
+ 'etc/xdg/menus/enlightenment.menu')
+options=('debug')
+install=enlightenment17.install
+source=("git://git.enlightenment.org/core/$_pkgname.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+
+ for _i in v_maj v_min v_mic; do
+ local v_ver=$v_ver.$(grep -m1 $_i configure.ac | sed 's/m4//' | grep -o "[[:digit:]]*")
+ done
+
+ v_ver=$(awk -F , -v v_ver=${v_ver#.} '/^AC_INIT/ {gsub(/v_ver/, v_ver); gsub(/[\[\] -]/, ""); print $2}' configure.ac)
+
+ printf "$v_ver.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+
+build() {
+ cd "$srcdir/$_pkgname"
+
+ export CFLAGS="$CFLAGS -fvisibility=hidden"
+
+ ./autogen.sh \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-wayland-clients \
+ --enable-wayland-egl
+
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+
+ make DESTDIR="$pkgdir" install
+
+# install text files
+ install -Dm644 ChangeLog "$pkgdir/usr/share/doc/$_pkgname/ChangeLog"
+ install -Dm644 NEWS "$pkgdir/usr/share/doc/$_pkgname/NEWS"
+ install -Dm644 README "$pkgdir/usr/share/doc/$_pkgname/README"
+
+# install license files
+ install -Dm644 AUTHORS "$pkgdir/usr/share/licenses/$pkgname/AUTHORS"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
diff --git a/enlightenment17.install b/enlightenment17.install
new file mode 100644
index 00000000000..8a2a967af3e
--- /dev/null
+++ b/enlightenment17.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-mime-database usr/share/mime > /dev/null
+ update-desktop-database -q
+ echo "Please do not disable update checking in the initial setup"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}