Merge pull request #86 from giresun28/master

os-installer.paketlend
This commit is contained in:
Giresun 2016-10-17 20:44:56 +03:00 committed by GitHub
commit 50e70b103b
7 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# Description="Library with common API for various GNOME modules."
# Url="http://www.gnome.org/"
# Packager: alihan-ozturk28@hotmail.com
# Depends on: iso-codes itstool xorg-app gtk3 docbook-xml gnome-doc-utils gsettings-desktop-schemas gobject-introspection startup-notification xorg-xkeyboard-config
name=gnome-desktop
version=3.18.0
release=1
source=( http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
cd $name-$version
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--libexecdir=/usr/lib/$name \
--with-gnome-distributor="Milis"
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,20 @@
# Description: GTK+3 timezone map widget
# URL: https://launchpad.net/timezonemap
# Packager: alihan-ozturk28@hotmail.com
# Depends on: gtk3 json-glib vala gobject-introspection libsoup
name=libtimezonemap
version=0.4.5
release=1
source=( https://launchpad.net/ubuntu/+archive/primary/+files/libtimezonemap_0.4.5.tar.gz)
build() {
cd $name-$version
autoreconf -vfi
./configure --prefix=/usr --enable-introspection --with-gtk=3
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,24 @@
# Description="Install OS to disk"
# Url="https://www.solus-project.com"
# Packager: alihan-ozturk28@hotmail.com
# Depends on: python-setuptools gsettings-desktop-schemas gnome-desktop libtimezonemap gparted python-cairo python-geoip python-gobject python-parted xorg-app
name=os-installer
version=12.5
release=1
_version=v12.5
source=( https://github.com/solus-project/$name/archive/${_version}.tar.gz
10-livecd.rules)
build() {
cd $name-$version
python setup.py build
python setup.py install --optimize=1 --root=$PKG
install -D -m 00644 dist/org.freedesktop.policykit.pkexec.policy $PKG/usr/share/polkit-1/actions/org.freedesktop.policykit.pkexec.policy
install -D -m 00755 dist/os-installer-wrapper $PKG/usr/bin/os-installer-wrapper
install -D -m 00644 $SRC/10-livecd.rules $PKG/usr/share/polkit-1/rules.d/10-livecd.rules
install -D -m 00644 dist/install-symbolic.svg $PKG/usr/share/icons/gnome/scalable/actions/install-symbolic.svg
install -D -m 00644 dist/com.solus_project.Installer.desktop $PKG/usr/share/applications/os-installer-gtk.desktop
}

View File

@ -0,0 +1,17 @@
# Description="Python API for GeoIP lookups"
# Url="https://pypi.python.org/pypi/pygeoip/"
# Packager: alihan-ozturk28@hotmail.com
# Depends on: python
name=python-geoip
version=0.2.7
release=1
_name=pygeoip
source=( https://pypi.python.org/packages/source/p/${_name}/${_name}-$version.tar.gz)
build() {
cd ${_name}-$version
python setup.py build
python setup.py install --optimize=1 --root=$PKG
}

View File

@ -0,0 +1,17 @@
# Description="Python bindings to libparted"
# Url="https://fedorahosted.org/pyparted/"
# Packager: alihan-ozturk28@hotmail.com
# Depends on: parted python
name=python-parted
version=3.10.0
release=1
_name=pyparted
source=( https://fedorahosted.org/releases/p/y/${_name}/${_name}-$version.tar.gz)
build() {
cd ${_name}-$version
python setup.py build
python setup.py install --optimize=1 --root=$PKG
}

View File

@ -0,0 +1,17 @@
# Description="Python3 API for GeoIP lookups"
# Url="https://pypi.python.org/pypi/pygeoip/"
# Packager: alihan-ozturk28@hotmail.com
# Depends on: python3
name=python3-geoip
version=0.2.7
release=1
_name=pygeoip
source=( https://pypi.python.org/packages/source/p/${_name}/${_name}-$version.tar.gz)
build() {
cd ${_name}-$version
python3 setup.py build
python3 setup.py install --optimize=1 --root=$PKG
}

View File

@ -0,0 +1,17 @@
# Description="Python bindings to libparted"
# Url="https://fedorahosted.org/pyparted/"
# Packager: alihan-ozturk28@hotmail.com
# Depends on: parted python3
name=python3-parted
version=3.10.0
release=1
_name=pyparted
source=( https://fedorahosted.org/releases/p/y/${_name}/${_name}-$version.tar.gz)
build() {
cd ${_name}-$version
python3 setup.py build
python3 setup.py install --optimize=1 --root=$PKG
}