OviOS Linux version 2.10 Antares with replication and HA Cluster available now. Download link here or at Sourceforge.

PKGBUILD-example

This example shows how to install parted 3.2 on OviOS Linux using makepkg and pacman

Can use both root or ovios (recommended)

1. Create a directory where to build parted

ovios-indt:~ # id
uid=1000(ovios) gid=1001(ovios) groups=1001(ovios)
ovios-indt:~ # mkdir parted
ovios-indt:~ # cd parted/
ovios-indt:~/parted #

2. Create a file called PKGBUILD (available editors: nano or vi / vim). This is a minimal template one can use. 

ovios-indt:~/parted # cat PKGBUILD
pkgname=parted
pkgver=3.2
pkgrel=1
arch=(x86_64)
source=(https://ftp.gnu.org/gnu/parted/parted-3.2.tar.xz)

build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
        --disable-static
make
}

package() {
cd $pkgname-$pkgver
make DESTDIR=${pkgdir} install
}
ovios-indt:~/parted #

If you get this error:
==> ERROR: Unknown download protocol: http
    Aborting...
 Download the source before and and change the source line in PKGBUILD to point to the file.
EX: source=(parted-3.2.tar.xz)
This will tell makepkg to look for the source in the build directory (in this case "parted")

3. Update the md5sums, otherwise makepkg will error out.

ovios-indt:~/parted # makepkg
==> Making package: parted 3.2-1 (Tue Jul 26 06:18:12 EDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found parted-3.2.tar.xz
==> ERROR: Integrity checks are missing for: source

Run 'makepkg -g >>PKGBUILD' to update PKGBULD with the checksums needed

ovios-indt:~/parted # makepkg -g >> PKGBUILD
==> Retrieving sources...
  -> Found parted-3.2.tar.xz
==> Generating checksums for source files...
ovios-indt:~/parted #

Now the package can be built:

ovios-indt:~/parted # makepkg
==> Making package: parted 3.2-1 (Tue Jul 26 06:13:40 EDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found parted-3.2.tar.xz
==> Validating source files with md5sums...
    parted-3.2.tar.xz ... Passed
==> Extracting sources...
  -> Extracting parted-3.2.tar.xz with bsdtar
==> Starting build()...
...

4. Install with pacman:

ovios-indt:~/parted # su
Password:
bash-4.3# pacman -U parted-3.2-1-x86_64.pkg.tar.gz

5. Run parted:

bash-4.3# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)

Note: If the shared libraries are not found after installing a new package, run 'ldconfig' as root.

bash-4.3# ldconfig
bash-4.3#

PKGBUILD Template:

pkgname=
pkgver=
pkgrel=1
arch=(x86_64)
source=()

build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}

package() {
cd $pkgname-$pkgver
make DESTDIR=${pkgdir} install
}